NativeByte class
Byte buffers representing each native platform.
NativeByte is responsible for managing the life cycle of the byte buffer. NativeByte is read-only. If you want to change the byte buffer, you can use either Pointer or ByteBuffer, but you need to manually manage the life cycle.
Constructors
-
NativeByte(Pointer<
Void> bytes, int lengthInBytes) - NativeByte.fromRaw(BytePlatformRaw raw)
Properties
-
bytes
→ Pointer<
Void> -
A pointer points to bytes on the heap.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- lengthInBytes → int
-
Returns the length of this byte buffer, in bytes.
no setter
- raw ↔ BytePlatformRaw
-
The Raw object on the current platform.
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited