ByteField<V extends NativeType> class abstract mixin

Typed Offset

Implemented types

Constructors

ByteField(int offset)
const
factory

Properties

defaultValue int
no setterinherited
end int
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
offset int
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int
no setterinherited

Methods

getIn(covariant ByteStruct<ByteField<V>> byteData) int
Read this field's value from struct.
override
getInOrNull(ByteData byteData) int?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setIn(covariant ByteStruct<ByteField<V>> byteData, int value) → void
Write value into this field of struct.
override
setInOrNot(ByteData byteData, int value) bool
testAccess(covariant ByteStruct<ByteField<V>> byteData) bool
Whether this field is present/valid for struct. Defaults to true (fixed-schema). Override for optional/sparse fields.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited