SelfEncoder class abstract

Defines an object that can encode its state using a RawWriter.

Implementers

Constructors

SelfEncoder()
const

Properties

hashCode → int
Computes a hash code based on the serialized bytes.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

encodeSelf(RawWriter writer) → void
Writes this object to the provided RawWriter.
encodeSelfCapacity() → int
Returns an estimated maximum number of bytes required for encoding.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toImmutableByteData() → ByteData
Serializes this object to an immutable ByteData.
toImmutableBytes() → List<int>
Serializes this object to an immutable list of bytes.
toMutableByteData() → ByteData
Serializes this object to a mutable ByteData buffer.
toMutableBytes() → List<int>
Serializes this object to a mutable list of bytes.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
Compares this object with another SelfEncoder by serialized content.
override