outputStreamToBuffer static method

NSOutputStream outputStreamToBuffer(
  1. Pointer<Uint8> buffer, {
  2. required DartNSUInteger capacity,
})

outputStreamToBuffer:capacity:

Implementation

static objc.NSOutputStream outputStreamToBuffer(
  ffi.Pointer<ffi.Uint8> buffer, {
  required DartNSUInteger capacity,
}) {
  final _ret = _objc_msgSend_158ju31(
    _class_NSOutputStream,
    _sel_outputStreamToBuffer_capacity_,
    buffer,
    capacity,
  );
  return objc.NSOutputStream.castFromPointer(
    _ret,
    retain: true,
    release: true,
  );
}