raw library

Classes

ByteDataEquality
DebugHexDecoder
Converts various hex-formatted text into a Uint8List.
DebugHexEncoder
Converts bytes into a formatted hex-dump for debugging.
RawData
A simple SelfEncoder that holds bytes.
RawReader
RawWriter
Writes values into a mutable byte buffer.
SelfCodec
Combines both SelfEncoder and SelfDecoder.
SelfEncoder
Defines an object that can encode its state using a RawWriter.
SelfEncoderEquality
Provides equality comparison for SelfEncoder objects.

Mixins

SelfDecoder
A mixin that allows an object to decode its state using a RawReader.

Functions

extractUint32Bits(int uint32, int shift, int mask) int
Returns specific bits in a 32-bit unsigned integer.
extractUint32Bool(int uint32, int shift) bool
Return a single bit in a 32-bit unsigned integer.
transformUint32Bits(int uint32, int shift, int bitmask, int newValue) int
Replaces specific bits in a 32-bit unsigned integer.
transformUint32Bool(int uint32, int shift, bool newValue) int
Replaces a single bit in a 32-bit unsigned integer.

Exceptions / Errors

RawReaderException
Thrown by RawReader.
RawWriterException
Exception thrown by RawWriter.