SelfEncoder class abstract

Something that can encode itself using RawWriter.

Implementers

Constructors

SelfEncoder()
const

Properties

hashCode int
Determines hash by serializing this value.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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 nonexistent 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 ==(Object other) bool
Determines equality by serializing both values.
override