map method

Uint8List map ()

Implementation

Uint8List map() {
  if (handle == null) {
    const int status = ZX.ERR_INVALID_ARGS;
    throw ZxStatusException(status, getStringForStatus(status));
  }
  MapResult r = System.vmoMap(handle!);
  if (r.status != ZX.OK) {
    throw ZxStatusException(r.status, getStringForStatus(r.status));
  }
  return UnmodifiableUint8ListView(r.data);
}