GreedyCount class
Represents a layout that greedily consumes bytes until the end.
- Inheritance
-
- Object
- Layout<
int> - ExternalLayout
- GreedyCount
Constructors
- GreedyCount([int elementSpan = 1, String? property])
Properties
- elementSpan ↔ int
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- property → String?
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- span → int
-
finalinherited
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
-
isCount(
) → bool -
override
-
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