The ByteArrayView type exposes the following methods.
Methods
| Member | Description | |
|---|---|---|
| Clone()()()() |
Clone this ByteArrayView
| |
| CompareTo(ByteArrayView) |
Compare this ByteArrayView to another lexigraphically.
NB: No data is copied when doing this.
| |
| Copy()()()() |
Create a new ByteArrayView which wraps a new byte[] containing a copy of
this view's data.
NB: This method copies the underlying data.
| |
| Copy(Int32, Int32) |
Create a new ByteArrayView which wraps a new byte[] containing a copy of
a portion of this view's data.
NB: This method copies the underlying data.
| |
| CopyBytes()()()() |
Create a new byte[] containing a copy of this view's data.
NB: This method copies the underlying data.
| |
| CopyBytes(Int32, Int32) |
Create a new byte[] containing a copy of a portion of this view's data.
NB: This method copies the underlying data.
| |
| Equals(Object) |
Returns true if this ByteArrayView is equal to the given one.
(Overrides Object..::..Equals(Object).) | |
| GetHashCode()()()() |
Hash function for this type.
(Overrides Object..::..GetHashCode()()()().) | |
| GetType()()()() | Gets the Type of the current instance. (Inherited from Object.) | |
| MakeView(array<Byte>[]()[][]) |
Create a new ByteArrayView which wraps the entire provided byte[].
NB: no data is copied when doing this
| |
| MakeView(array<Byte>[]()[][], Int32, Int32) |
Create a new ByteArrayView which wraps the portion of byte[] between offset and len from offset.
NB: no data is copied when doing this
| |
| ToString()()()() |
Return a string representation of this ByteArrayView.
(Overrides Object..::..ToString()()()().) | |
| ToString(Int32) |
Return a string representation of this ByteArrayView. If the array is longer than maxChars,
only maxChars - 3 bytes will be written followed by an ellipsis ('...').
|