ContentEncoder class
Constructors
- ContentEncoder({MetadataEditableWrapper? body})
-
const
Properties
- body → MetadataEditableWrapper?
-
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(
) → List< int> -
encode
MetadataV2Body
to bytes -
encodeProperty(
{required String frameID, required MetadataProperty property, TagRestrictions? tagRestrictions, bool fillHeader = false, bool sizeH0 = true}) → List< int> -
Encode the content corresponding to frameID. If you set
fillHeader: true
, the result is all frameframe Header + content
bytes. -
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