Lidgren Network Library documentation |
NetBuffer..::..ReadBytes Method (Int32, array<Byte>[]()[][]%) |
NetBuffer Class See Also Send Feedback |
Reads the specified number of bytes and returns true for success
Namespace: Lidgren.Network
Assembly: Lidgren.Network (in Lidgren.Network.dll) Version: 2012.1.7.0 (2012.1.7.0)
Syntax
C# |
---|
public bool ReadBytes( int numberOfBytes, out byte[] result ) |
Visual Basic |
---|
Public Function ReadBytes ( _ numberOfBytes As Integer, _ <OutAttribute> ByRef result As Byte() _ ) As Boolean |
Visual C++ |
---|
public: bool ReadBytes( int numberOfBytes, [OutAttribute] array<unsigned char>^% result ) |
Parameters
- numberOfBytes
- Type: System..::..Int32
[Missing <param name="numberOfBytes"/> documentation for "M:Lidgren.Network.NetBuffer.ReadBytes(System.Int32,System.Byte[]@)"]
- result
- Type: array<System..::..Byte>[]()[][]%
[Missing <param name="result"/> documentation for "M:Lidgren.Network.NetBuffer.ReadBytes(System.Int32,System.Byte[]@)"]
Return Value
[Missing <returns> documentation for "M:Lidgren.Network.NetBuffer.ReadBytes(System.Int32,System.Byte[]@)"]