$allocate static method

Pointer<iovec> $allocate(
  1. Allocator $allocator, {
  2. required Pointer<Void> iov_base,
  3. required int iov_len,
})

Implementation

static ffi.Pointer<iovec> $allocate(
ffi.Allocator $allocator, {
required ffi.Pointer<ffi.Void> iov_base,
required int iov_len,
}) => $allocator<iovec>()
..ref.iov_base = iov_base
..ref.iov_len = iov_len;