api2wire_uint_8_list method

  1. @protected
Pointer<wire_uint_8_list> api2wire_uint_8_list(
  1. Uint8List raw
)

Implementation

@protected
ffi.Pointer<wire_uint_8_list> api2wire_uint_8_list(Uint8List raw) {
  final ans = inner.new_uint_8_list_0(raw.length);
  ans.ref.ptr.asTypedList(raw.length).setAll(0, raw);
  return ans;
}