api2wire_list_public_key method

  1. @protected
Pointer<wire_list_public_key> api2wire_list_public_key(
  1. List<PublicKey> raw
)

Implementation

@protected
ffi.Pointer<wire_list_public_key> api2wire_list_public_key(
    List<PublicKey> raw) {
  final ans = inner.new_list_public_key_0(raw.length);
  for (var i = 0; i < raw.length; ++i) {
    _api_fill_to_wire_public_key(raw[i], ans.ref.ptr[i]);
  }
  return ans;
}