Lidgren Network Library documentation |
NetBuffer..::..PeekBytes Method (array<Byte>[]()[][], Int32, Int32) |
NetBuffer Class See Also Send Feedback |
Reads the specified number of bytes without advancing the read pointer
Namespace: Lidgren.Network
Assembly: Lidgren.Network (in Lidgren.Network.dll) Version: 2012.1.7.0 (2012.1.7.0)
Syntax
C# |
---|
public void PeekBytes( byte[] into, int offset, int numberOfBytes ) |
Visual Basic |
---|
Public Sub PeekBytes ( _ into As Byte(), _ offset As Integer, _ numberOfBytes As Integer _ ) |
Visual C++ |
---|
public: void PeekBytes( array<unsigned char>^ into, int offset, int numberOfBytes ) |
Parameters
- into
- Type: array<System..::..Byte>[]()[][]
[Missing <param name="into"/> documentation for "M:Lidgren.Network.NetBuffer.PeekBytes(System.Byte[],System.Int32,System.Int32)"]
- offset
- Type: System..::..Int32
[Missing <param name="offset"/> documentation for "M:Lidgren.Network.NetBuffer.PeekBytes(System.Byte[],System.Int32,System.Int32)"]
- numberOfBytes
- Type: System..::..Int32
[Missing <param name="numberOfBytes"/> documentation for "M:Lidgren.Network.NetBuffer.PeekBytes(System.Byte[],System.Int32,System.Int32)"]