NativeByteData class
NativeByteData is a Dart representation of the C++ NativeByteData class. It wraps a Uint8List (byte array) for efficient binary data transfer between Dart and C++.
- Implemented types
Constructors
-
NativeByteData(Pointer<
NativeByteDataStruct> _pointer) - Constructor that takes a pointer to an existing NativeByteData from C++
Properties
- bytes → Uint8List
-
Get the bytes as a Uint8List
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- length → int
-
Get the length of the byte array
no setter
-
pointer
→ Pointer<
NativeByteDataStruct> -
Get the pointer to the underlying struct
no setter
- 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