data_serializer 1.2.1 copy "data_serializer: ^1.2.1" to clipboard
data_serializer: ^1.2.1 copied to clipboard

Portable Dart package to handle data serialization/deserialization efficiently, including a dynamic BytesBuffer to read/write data.

1.2.1 #

  • Rollback to collection 1.18.0 for Flutter SDK compatibility.

  • collection: ^1.18.0

1.2.0 #

  • Remove use of UnmodifiableUint8ListView for Dart 3.5.0 compatibility.

  • sdk: '>=3.4.0 <4.0.0'

  • collection: ^1.19.0

  • test: ^1.25.8

  • coverage: ^1.9.0

1.1.0 #

Dart 3.3.0 compatibility changes:

  • ListGenericExtension:

    • Renamed getter asUnmodifiableView to method asUnmodifiableListView.
  • Uint8ListDataExtension:

    • Removed getter asUnmodifiableView to allow use of Uint8List.asUnmodifiableView.
  • Uint32ListDataExtension:

    • Removed getter asUnmodifiableView to allow use of Uint32List.asUnmodifiableView.
  • Uint64ListDataExtension:

    • Removed getter asUnmodifiableView to allow use of Uint64List.asUnmodifiableView.
  • sdk: '>=3.3.0 <4.0.0'

  • lints: ^3.0.0

  • test: ^1.25.2

  • coverage: ^1.7.2

  • path: ^1.9.0

1.0.12 #

  • New BitsBuffer.

  • BytesBuffer:

    • writeWritables/readWritables: new parameter option leb128.
    • Added writeFloat64, writeAllFloat64, readFloat64 and readAllFloat64.
    • Added writeFloat32, writeAllFloat32, readFloat32 and readAllFloat32.
    • Added readTo and writeFrom.
  • test: ^1.24.8

1.0.11 #

  • Added support to Leb128.

  • New BytesEmitter.

  • DataSerializerPlatform:

    • Added supportsFullBitsShift, shiftRightInt and shiftLeftInt.
  • sdk: '>=3.0.0 <4.0.0'

  • dependency_validator: ^3.2.3

1.0.10 #

  • data_serializer_io.dart: data_serializer.io

1.0.9 #

  • BytesIO:
    • Added flush, close, isClosed and supportsClosing.
  • BytesBuffer:
    • Added flush and close.

1.0.8 #

  • New BytesIO:

    • Implementations: BytesFileIO and BytesUint8ListIO.
  • Added constructor BytesBuffer.fromIO.

  • DataSerializerPlatformGeneric:

    • Fixed _writeInt64 and _readInt64 for JS/Browser platform.
  • Dart CI:

    • Tests platforms: vm, exe, chrome.
  • sdk: '>=2.18.4 <4.0.0'

  • collection: ^1.18.0

  • lints: ^2.0.1

  • test: ^1.24.3

  • dependency_validator: ^3.2.2

  • coverage: ^1.6.3

1.0.7 #

  • ListIntDataExtension:
    • Added toInt8List, toUint16List, toInt16List, toUint32List, toInt32List,toUint64List, toInt64List.
    • Added asInt8List``asUint16List, asInt16List, asUint32List, asInt32List, asUint64List, asInt64List.
  • New ListGenericExtension:
    • reversedList, copyTo, copy, asUnmodifiableView, reverseChunks
    • Uint8ListDataExtension: added toUint32List.
  • New ByteDataExtension, Uint32ListDataExtension and Uint64ListDataExtension.
  • Improved tests.

1.0.6 #

  • DataSerializerPlatform, and Uint8ListDataExtension:
    • getInt16/32/64 and getUint16/32/64:
      • Added parameter endian to allow Endian.little.

1.0.5 #

  • Added BytesBuffer.indexOf.

1.0.4 #

  • BytesBuffer.bytesTo now returns R.

1.0.3 #

  • Fix some documentation references.

1.0.2 #

  • Organize extensions names.
  • Clean code.
  • Improve tests.

1.0.1 #

  • Fix BigInt serialization.
  • Improve tests.
  • Improve documentation.

1.0.0 #

  • Initial version.
  • Moved some code from package statistics.
  • Added support for browser/js.
  • base_codecs: ^1.0.1
  • collection: ^1.15.0
3
likes
160
points
17.2k
downloads

Publisher

unverified uploader

Weekly Downloads

Portable Dart package to handle data serialization/deserialization efficiently, including a dynamic BytesBuffer to read/write data.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

base_codecs, collection

More

Packages that depend on data_serializer