typedArrayByteOffset property

int get typedArrayByteOffset

Implementation

int get typedArrayByteOffset {
  final JSException exception = JSException.create(_context);
  try {
    final int offset = js_bd.JSObjectGetTypedArrayByteOffset(_context.ref, _ref, exception.ref);
    if (exception.shouldThrow) {
      throw exception.error;
    }
    return offset;
  } finally {
    exception.release();
  }
}