Collapse All Expand All | Language Filter: C#Language Filter: Visual Basic Language Filter: Visual C++ C# Visual Basic Visual C++ | See Also
StreamBase Client API
ByteArrayView Methods

The ByteArrayView type exposes the following methods.

# Methods

Public Protected | Instance Static | Declared Inherited | XNA Framework Only .NET Compact Framework Only |

| 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 ('...').

# See Also

ByteArrayView Class
StreamBase.SB Namespace