blob: 60a87d595f9bd3958bf09f3ad4171e536d2be696 [file] [log] [blame] [view]
# Vmo class
<p>Typed wrapper around a Zircon vmo object.</p>
**Implementers**
- [SizedVmo](../zircon/SizedVmo-class.md)
## Constructors
[Vmo](../zircon/Vmo/Vmo.md) ([Handle](../zircon/Handle-class.md) handle)
## Properties
##### [handle](../zircon/Vmo/handle.md) &#8594; [Handle](../zircon/Handle-class.md)
_<span class="feature read-only">read-only</span><span class="feature inherited">inherited</span>_
##### [hashCode](../zircon/Vmo/hashCode.md) &#8594; int
The hash code for this object.
_<span class="feature read-only">read-only</span><span class="feature inherited">inherited</span>_
##### [isValid](../zircon/Vmo/isValid.md) &#8594; bool
_<span class="feature read-only">read-only</span><span class="feature inherited">inherited</span>_
##### [runtimeType](../zircon/Vmo/runtimeType.md) &#8594; Type
A representation of the runtime type of the object.
_<span class="feature read-only">read-only</span><span class="feature inherited">inherited</span>_
## Methods
##### [close](../zircon/Vmo/close.md)() void
_<span class="feature inherited">inherited</span>_
##### [duplicate](../zircon/Vmo/duplicate.md)(int rights) [Vmo](../zircon/Vmo-class.md)
Duplicate this <a href="../zircon/Vmo-class.md">Vmo</a> with the given rights.
##### [getSize](../zircon/Vmo/getSize.md)() [GetSizeResult](../zircon/GetSizeResult-class.md)
##### [map](../zircon/Vmo/map.md)() Uint8List
Maps the Vmo into the process's root vmar, and returns it as a typed data
array.
##### [noSuchMethod](../zircon/Vmo/noSuchMethod.md)(Invocation invocation) dynamic
Invoked when a non-existent method or property is accessed.
_<span class="feature inherited">inherited</span>_
##### [passHandle](../zircon/Vmo/passHandle.md)() [Handle](../zircon/Handle-class.md)
_<span class="feature inherited">inherited</span>_
##### [read](../zircon/Vmo/read.md)(int numBytes, [int vmoOffset = 0]) [ReadResult](../zircon/ReadResult-class.md)
##### [setSize](../zircon/Vmo/setSize.md)(int size) int
##### [toString](../zircon/Vmo/toString.md)() String
A string representation of this object.
_<span class="feature inherited">inherited</span>_
##### [write](../zircon/Vmo/write.md)(ByteData data, [int vmoOffset = 0]) int
## Operators
##### [operator ==](../zircon/Vmo/operator_equals.md)(Object other) bool
The equality operator.
_<span class="feature inherited">inherited</span>_