readObject method

JSValue readObject(
  1. Uint8List buf,
  2. int flags, {
  3. bool autoDispose = true,
})

Implementation

JSValue readObject(Uint8List buf, int flags, {bool autoDispose = true}) {
  _buf = buf.toUint8();
  return JSValue.ptr(
    this,
    JS_ReadObject(_ref, _buf!, buf.length, flags),
    autoDispose: autoDispose,
  );
}