ImmutableBuffer class Null safety

A handle to a read-only byte buffer that is managed by the engine.

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
length int
The length, in bytes, of the underlying data.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

dispose() → void
Release the resources used by this object. The object is no longer usable after this method is called.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Static Methods

fromUint8List(Uint8List list) Future<ImmutableBuffer>
Creates a copy of the data from a Uint8List suitable for internal use in the engine.