data_serializer_io library

Library to handle data serialization/deserialization efficiently with dart:io support.

Classes

BitsBuffer
A buffer of bits over a BytesBuffer.
ByteDataIntCodec
IntCodec implementation for ByteData.
BytesBuffer
Optimized buffer of Uint8List.
BytesEmitter
An emitter for bytes where each write operation can have an optional description that will be displayed by toString. The complete list of bytes is emitted through output."
BytesFileIO
BytesIO implementation over RandomAccessFile.
BytesIO
Bytes input and output interface.
BytesUint8ListIO
BytesIO implementation using Uint8List.
DataSerializerPlatform
data_serializer platform dependent functions. The implementation resolve special cases for each platform.
FileDataIntCodec
IntCodec implementation for BytesFileIO.
HexCodec
A codec for encoding and decoding byte arrays to and from hexadecimal strings.
IntCodec
Interface to encode/decode int and Uint (16 and 32 bits).
Leb128
LEB128 integer compression.
Writable
Interface for a class that can be written to a BytesBuffer.

Extensions

BigIntDataExtension on BigInt
Data extension for BigInt.
ByteDataExtension on ByteData
BytesBufferLeb128Extension on BytesBuffer
LEB128 extension for BytesBuffer.
DateTimeDataExtension on DateTime
Data extension for DateTime.
EndianExtension on Endian
Extension for Endian.
IntDataExtension on int
Data extension for int.
IterableBytesEmitterExtension on Iterable<BytesEmitter>
IterableListIntsExtension on Iterable<Iterable<T>>
Extension for Iterable<List<T>>.
ListGenericExtension on List<T>
ListIntDataExtension on List<int>
Data Extension for List<int>.
ListWritableExtension on List<Writable>
Data extension for a List of Writable.
StringDataExtension on String
Data extension for String.
Uint32ListDataExtension on Uint32List
Data extension for Uint32List.
Uint64ListDataExtension on Uint64List
Data extension for Uint64List.
Uint8ListDataExtension on Uint8List
Data Extension for Uint8List.

Constants

hex → const HexCodec
An instance of the default implementation of the HexCodec.

Exceptions / Errors

BytesBufferEOF
BytesBufferError