BmffBox class
A base class for all BMFF boxes.
Some boxes are not defined in the standard.
- Implementers
Constructors
- BmffBox.new({required BmffContext context, required int startOffset, required int size, required String type, required int realSize})
- A base class for all BMFF boxes.
Properties
- baseContext → BaseBmffContext
-
no setter
-
childBoxes
→ List<
BmffBox> -
The child boxes of the box.
no setter
- context → BmffContext
-
The context of a BMFF file.
final
- dataSize → int
-
The data size of the box.
no setterinherited
- dataStartOffset → int
-
The data start offset of the box.
no setterinherited
- endOffset → int
-
The end offset of the box.
no setterinherited
- extendInfoSize → int
-
Some boxes have some extended data.
For example, meta of heic have 4 bytes extended data.
no setterinherited
- forceFullBox ↔ bool?
-
getter/setter pairinherited-getter
- hashCode → int
-
The hash code for this object.
no setterinherited
- headerSize → int
-
The header size of the box.
no setterinherited
- isFullBox → bool
-
Whether the box is a full box.
no setterinherited
- isLargeBox → bool
-
Whether the box is large box.
no setterinherited
- parent ↔ BmffBox?
-
The parent box of this box, or null if this box is the root box.
getter/setter pair
- realSize → int
-
The box real size;
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → int
-
The size of the box. Contains the header size.
finalinherited
- startOffset → int
-
The start offset of the box.
finalinherited
- type → String
-
The type of the box.
finalinherited
Methods
-
getByteBuffer(
) → ByteBuffer - Get data of the box.
-
getRangeData(
int start, int end) → List< int> - Get the box data from the start offset to the end offset.
-
getRangeDataByLength(
int start, int length) → List< int> -
Get the box data from the
start
offset andlength
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator [](
Object? key) → BmffBox