ZstdBlockHeader class
Parsed Zstd block header information
Constructors
- ZstdBlockHeader({required bool lastBlock, required ZstdBlockType blockType, required int blockSize})
- Creates a block header with the given parameters
- ZstdBlockHeader.parse(Uint8List data, int offset)
-
Parses a block header from data at the given offset
factory
Properties
- blockSize → int
-
Size of the block content in bytes
final
- blockType → ZstdBlockType
-
The type of this block (raw, rle, compressed, reserved)
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lastBlock → bool
-
Whether this is the last block in the frame
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited