LayoutByteWriter class
A utility class for writing layout bytes dynamically.
Constructors
- LayoutByteWriter(int span)
- LayoutByteWriter.filled(int length, [int value = 0])
-
LayoutByteWriter.from(List<
int> bytes) - LayoutByteWriter.fromHex(String hexBytes)
Properties
Methods
-
at(
int pos) → int -
fillRange(
int start, int end, int value) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
set(
int offset, int value) → void -
setAll(
int index, List< int> bytes) → void -
setRange(
int start, int end, List< int> iterable) → void -
sublist(
int start, [int? end]) → List< int> -
toBytes(
) → List< int> - buffer bytes.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- maxPackedSize → const int