IsoBuffer class
A minimal port of java.nio.ByteBuffer covering exactly the operations the
ISO 8583 packagers rely on, so the Dart codec can mirror the Java one
operation for operation.
Constructors
- IsoBuffer.allocate(int capacity)
-
factory
- IsoBuffer.wrap(Uint8List bytes, [int? offset, int? length])
-
factory
Properties
- backingArray → Uint8List
-
no setter
- capacity → int
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasRemaining → bool
-
no setter
- limit ↔ int
-
getter/setter pair
- position ↔ int
-
getter/setter pair
- remaining → int
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
flip(
) → void -
get(
) → int -
getAt(
int index) → int -
getBytes(
int length) → Uint8List -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
put(
int byte) → void -
putAt(
int index, int byte) → void -
putBytes(
List< int> bytes) → void -
rewind(
) → void -
toBytes(
) → Uint8List - The bytes between 0 and position, which is what a packager has written so far.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited