Skip to content

cd401b21 1c77 3543 4604 42f827083ac8

Arthur Frederico Neves edited this page Jul 19, 2016 · 3 revisions

BasePack.GetByte Method

Converts a part of the inner buffer, started in readPosition, to a byte.

Namespace: NETLIB
Assembly: NETLIB (in NETLIB.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

public virtual byte GetByte()

VB

Public Overridable Function GetByte As Byte

C++

public:
virtual unsigned char GetByte()

F#

abstract GetByte : unit -> byte 
override GetByte : unit -> byte 

Return Value

Type: Byte
Byte converted from the inner buffer started in readPosition.

Exceptions

 

Exception Condition
IndexOutOfRangeException Throws when readPosition is larger than the inner buffer length minus 1.

See Also

Reference

BasePack Class
GetByte Overload
NETLIB Namespace

Clone this wiki locally