$allocate static method
Implementation
static ffi.Pointer<Jp2kEncodeResult> $allocate(
ffi.Allocator $allocator, {
required ffi.Pointer<ffi.Uint8> data,
required int length,
required ffi.Pointer<ffi.Char> error,
}) => $allocator<Jp2kEncodeResult>()
..ref.data = data
..ref.length = length
..ref.error = error;