Create a new ByteArrayView which wraps the portion of byte[] between offset and len from offset.
NB: no data is copied when doing this
Namespace: StreamBase.SBAssembly: StreamBase.SB.Client (in StreamBase.SB.Client.dll) Version: 10.6.0.0
Syntax
C# | Visual Basic | Visual C++ |
public static ByteArrayView MakeView( byte[] bytes, int offset, int len )
Public Shared Function MakeView ( _ bytes As Byte(), _ offset As Integer, _ len As Integer _ ) As ByteArrayView
public: static ByteArrayView^ MakeView( array<unsigned char>^ bytes, int offset, int len )
Parameters
- bytes
- array<Byte>[]()[][]
bytes the data to be viewed.
- offset
- Int32
the offset into the array when this view begins.
- len
- Int32
the length of this view.