SelfEncoder class

Something that can encode itself using RawWriter.

Implementers

Constructors

SelfEncoder()
const

Properties

hashCode int
Determines hash by serializing this value.
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

encodeSelf(RawWriter writer) → void
Encodes this object.
encodeSelfCapacity() int
Returns an estimate of the maximum number of bytes needed to encode this value.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toImmutableByteData() ByteData
Returns an immutable encoding of this value.
toImmutableBytes() List<int>
Returns an immutable encoding of this value.
toMutableByteData() ByteData
Returns a mutable encoding of this value.
toMutableBytes() List<int>
Returns a mutable encoding of this value.
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(dynamic other) bool
Determines equality by serializing both values.
override