IntegerLayout class
Represents a layout for integers.
Constructors
- IntegerLayout(int span, {bool sign = false, Endian order = Endian.little, String? property})
Properties
Methods
-
clone(
{String? newProperty}) → Layout -
override
-
decode(
List< int> ? bytes, {int offset = 0}) → int -
override
-
encode(
int source, LayoutByteWriter writer, {int offset = 0}) → int -
override
-
getSpan(
List< int> ? bytes, {int offset = 0}) → int -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
serialize(
int soruce, {int? size, int offset = 0}) → List< int> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited