Jp2kEncodeResult class final

Result of encoding one raster to a raw J2K codestream. data is the encoded codestream, length bytes long — NULL on failure, in which case error is set instead (else NULL).

Every non-NULL result (whether it succeeded or carries an error) must be passed to jp2k_free_encode_result exactly once.

Inheritance
Implemented types
Available extensions

Constructors

Jp2kEncodeResult()

Properties

address Pointer<T>

Available on T, provided by the StructAddress extension

The memory address of the underlying data.
no setter
data Pointer<Uint8>
getter/setter pair
error Pointer<Char>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
length int
getter/setter pair
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

Static Methods

$allocate(Allocator $allocator, {required Pointer<Uint8> data, required int length, required Pointer<Char> error}) Pointer<Jp2kEncodeResult>