PeekByte Method (Int32)

Lidgren.Network

Collapse imageExpand ImageCopy imageCopyHover image
Reads the specified number of bits into a Byte 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 byte PeekByte(
	int numberOfBits
)
Visual Basic
Public Function PeekByte ( _
	numberOfBits As Integer _
) As Byte
Visual C++
public:
unsigned char PeekByte(
	int numberOfBits
)

Parameters

numberOfBits
Type: System..::..Int32

[Missing <param name="numberOfBits"/> documentation for "M:Lidgren.Network.NetBuffer.PeekByte(System.Int32)"]

Return Value

[Missing <returns> documentation for "M:Lidgren.Network.NetBuffer.PeekByte(System.Int32)"]

See Also