data_serializer 1.2.0 data_serializer: ^1.2.0 copied to clipboard
Portable Dart package to handle data serialization/deserialization efficiently, including a dynamic BytesBuffer to read/write data.
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 methodasUnmodifiableListView
.
- Renamed getter
-
Uint8ListDataExtension
:- Removed getter
asUnmodifiableView
to allow use ofUint8List.asUnmodifiableView
.
- Removed getter
-
Uint32ListDataExtension
:- Removed getter
asUnmodifiableView
to allow use ofUint32List.asUnmodifiableView
.
- Removed getter
-
Uint64ListDataExtension
:- Removed getter
asUnmodifiableView
to allow use ofUint64List.asUnmodifiableView
.
- Removed getter
-
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 optionleb128
.- Added
writeFloat64
,writeAllFloat64
,readFloat64
andreadAllFloat64
. - Added
writeFloat32
,writeAllFloat32
,readFloat32
andreadAllFloat32
. - Added
readTo
andwriteFrom
.
-
test: ^1.24.8
1.0.11 #
-
Added support to
Leb128
. -
New
BytesEmitter
. -
DataSerializerPlatform
:- Added
supportsFullBitsShift
,shiftRightInt
andshiftLeftInt
.
- Added
-
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
andsupportsClosing
.
- Added
BytesBuffer
:- Added
flush
andclose
.
- Added
1.0.8 #
-
New
BytesIO
:- Implementations:
BytesFileIO
andBytesUint8ListIO
.
- Implementations:
-
Added constructor
BytesBuffer.fromIO
. -
DataSerializerPlatformGeneric
:- Fixed
_writeInt64
and_readInt64
for JS/Browser platform.
- Fixed
-
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
.
- Added
- New
ListGenericExtension
:reversedList
,copyTo
,copy
,asUnmodifiableView
,reverseChunks
-
Uint8ListDataExtension
: addedtoUint32List
.
- New
ByteDataExtension
,Uint32ListDataExtension
andUint64ListDataExtension
. - Improved tests.
1.0.6 #
DataSerializerPlatform
, andUint8ListDataExtension
:getInt16/32/64
andgetUint16/32/64
:- Added parameter
endian
to allowEndian.little
.
- Added parameter
1.0.5 #
- Added
BytesBuffer.indexOf
.
1.0.4 #
BytesBuffer.bytesTo
now returnsR
.
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