typedArrayByteLength property

int get typedArrayByteLength

Implementation

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