ChunkHeader class
A class representing the header of a chunk in a CAF file.
Constructors
- ChunkHeader({required FourByteString chunkType, required int chunkSize})
 
Properties
- chunkSize → int
 - 
  The size of the chunk.
  final
 - chunkType → FourByteString
 - 
  The type of the chunk.
  final
 - hashCode → int
 - 
  The hash code for this object.
  no setterinherited
 - runtimeType → Type
 - 
  A representation of the runtime type of the object.
  no setterinherited
 
Methods
- 
  encode(
) → Uint8List  - Encodes the chunk header to a Uint8List.
 - 
  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
 
Static Methods
- 
  decode(
Uint8List data) → ChunkHeader?  - Decodes a chunk header from a Uint8List. Returns null if the data length is less than 12 bytes.