cst_encode_list_Uuid method

  1. @protected
Pointer<wire_cst_list_Uuid> cst_encode_list_Uuid(
  1. List<UuidValue> raw
)

Implementation

@protected
ffi.Pointer<wire_cst_list_Uuid> cst_encode_list_Uuid(List<UuidValue> raw) {
  // Codec=Cst (C-struct based), see doc to use other codecs
  final ans = wire.cst_new_list_Uuid(raw.length);
  for (var i = 0; i < raw.length; ++i) {
    ans.ref.ptr[i] = cst_encode_Uuid(raw[i]);
  }
  return ans;
}