ByteField - a Typed Offset into a ByteStruct and TypedData. Defines a field of a ByteStruct by its offset and type.
- Implemented types
-
- TypedField<
V> - Field<
int>
- TypedField<
Properties
Methods
-
getIn(
covariant ByteStruct< ByteField< byteData) → intV> > -
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< byteData, int value) → voidV> > -
Write
valueinto this field ofstruct.override -
setInOrNot(
ByteData byteData, int value) → bool -
testAccess(
covariant ByteStruct< ByteField< byteData) → boolV> > -
Whether this field is present/valid for
struct. Defaults totrue(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