OMeshBinaryFormatCodec class
a Codec for OMeshRect to/from binary format.
This codec is used to encode and decode the mesh data in a binary format that can be used to store the mesh data in a file or send it over the network. The binary format is a compact representation of the mesh data that can be easily serialized and deserialized.
The binary format is defined by the OMeshBinaryFormatPayloadType and is used to encode and decode the mesh data.
Properties
-
decoder
→ Converter<
Uint8List, OMeshRect> -
Returns the decoder of
this
, converting fromT
toS
.no setteroverride -
encoder
→ Converter<
OMeshRect, Uint8List> -
Returns the encoder from
S
toT
.no setteroverride - hashCode → int
-
The hash code for this object.
no setterinherited
-
inverted
→ Codec<
Uint8List, OMeshRect> -
Inverts
this
.no setterinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- specVersion → int
-
The codec for OMeshRect to/from binary format.
final
Methods
-
decode(
Uint8List encoded) → OMeshRect -
Decodes
encoded
data.inherited -
encode(
OMeshRect input) → Uint8List -
Encodes
input
.inherited -
fuse<
R> (Codec< Uint8List, R> other) → Codec<OMeshRect, R> -
Fuses
this
withother
.inherited -
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
Constants
- v1 → const OMeshBinaryFormatCodec
- The default codec for OMeshRect to/from binary format.