raw library
Classes
- ByteDataEquality
- DebugHexDecoder
- Converts various hex formats to Uint8List.
- DebugHexEncoder
- Converts bytes to a hex-based descriptions.
- RawData
- A simple SelfEncoder that holds bytes.
- RawReader
- RawWriter
- Writes values into a buffer.
- SelfCodec
- Something that implements both SelfEncoder and SelfDecoder.
- SelfEncoder
- Something that can encode itself using RawWriter.
- SelfEncoderEquality
- Equality for SelfEncoder.
Mixins
- SelfDecoder
- Something that can decode itself using 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
- Thrown by RawWriter.