Google celebrates Hispanic Heritage Month. See how.

VmoFile.readOnly constructor

*[<Null safety>](https://dart.dev/null-safety)*

VmoFile.readOnly(Vmo _vmo, VmoSharingMode _sharingMode)

Constructor for read-only Vmo

Implementation

VmoFile.readOnly(this._vmo, this._sharingMode)
    : super.readOnly(() {
        int size = _vmo.getSize().size;
        return _vmo.read(size).bytesAsUint8List();
      });