dataWithBytes static method

NSMutableData dataWithBytes(
  1. Pointer<Void> bytes, {
  2. required int length,
})
override

dataWithBytes:length:

Implementation

static NSMutableData dataWithBytes(
  ffi.Pointer<ffi.Void> bytes, {
  required int length,
}) {
  final $ret = _objc_msgSend_3nbx5e(
    _class_NSMutableData,
    _sel_dataWithBytes_length_,
    bytes,
    length,
  );
  return NSMutableData.fromPointer($ret, retain: true, release: true);
}