패키지, 저장소 및 앱 카테고리 검색

패키지 상세v1.1.1

fixnum

32비트 및 64비트 부호 있는 고정 폭 정수를 위한 라이브러리로, 네이티브 및 JS 런타임 간에 일관된 동작을 보장합니다.

AndroidiOSWebmacOSWindowsLinux
30일 다운로드
1160만
좋아요
69
Pub 점수
150

패키지 설치

flutter pub add fixnum

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

fixnum 패키지는 Dart의 네이티브 및 JavaScript 런타임 간에 일관된 동작을 보장하는 32비트 및 64비트 부호 있는 고정 폭 정수 유형을 제공합니다. 특히 웹 환경에서 자바스크립트가 정수를 부동소수점 수로 사용하기 때문에 플랫폼 간 정수 처리의 차이를 해결합니다. 이 라이브러리는 실행 환경에 관계없이 예측 가능한 산술 연산과 비트 연산이 필요한 애플리케이션에 적합합니다.

사용 사례

  • 크로스 플랫폼 정수 일관성
  • 웹 및 네이티브 정수 동기화
  • 암호화 작업
  • 네트워크 프로토콜 구현
  • 이진 데이터 처리
  • 하위 수준 시스템 프로그래밍

주요 기능

  • 32비트 및 64비트 정수 유형 수정
  • 일관된 오버플로 동작
  • 비트 연산 지원
  • 자바스크립트 런타임 호환성
  • 외부 종속성 없음
  • 최소 성능 오버헤드

적합한 대상

  • 다중 플랫폼을 대상으로 하는 개발자
  • 정밀한 정수 연산이 필요한 애플리케이션
  • Dart에서의 시스템 프로그래밍
  • 이진 프로토콜과의 상호 운용성
  • 결정론적 정수 동작이 필요한 프로젝트

고려 사항

  • 기본 정수 사용 사례에는 필요하지 않음
  • 간단한 작업에 약간의 오버헤드를 유발할 수 있습니다
  • 고정 폭 유형을 위한 명시적 가져오기가 필요합니다
  • 부호 있는 정수만 가능
  • 임의 정밀도 산술에 적합하지 않습니다

원본 README

연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.

Overview

This repository is home to various Dart packages under the dart.dev publisher.

Packages

Package Description Issues Version
args Library for defining parsers for parsing raw command-line arguments into a set of options and values using GNU and POSIX style options. issues pub package
async Utility functions and classes related to the 'dart:async' library. issues pub package
characters String replacement with operations that are Unicode/grapheme cluster aware. issues pub package
collection Collections and utilities functions and classes related to collections. issues pub package
convert Utilities for converting between data representations. Provides a number of Sink, Codec, Decoder, and Encoder types. issues pub package
crypto Implementations of SHA, MD5, and HMAC cryptographic functions. issues pub package
fixnum Library for 32- and 64-bit signed fixed-width integers with consistent behavior between native and JS runtimes. issues pub package
lints Official Dart lint rules. Defines the 'core' and 'recommended' set of lints suggested by the Dart team. issues pub package
logging Provides APIs for debugging and error logging, similar to loggers in other languages, such as the Closure JS Logger and java.util.logging.Logger. issues pub package
os_detect Platform independent OS detection. issues pub package
path A string-based path manipulation library. issues pub package
platform A pluggable, mockable platform information abstraction for Dart. issues pub package
typed_data Utility functions and classes related to the dart:typed_data library. issues pub package

Publishing automation

For information about our publishing automation and release process, see https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.

For additional information about contributing, see our contributing page.

카테고리

소스 저장소

이 패키지를 사용하는 프로젝트