RawData class

A simple SelfEncoder that holds bytes.

Inheritance

Constructors

RawData(List<int> bytes)
const
RawData.decode(RawReader reader, int length)
factory

Properties

bytes List<int>
final
hashCode int
Determines hash by serializing this value.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

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

Static Properties

empty RawData
final