Skip to content

b05d39e5 2b79 f9b5 7c20 e76217bcc066

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

BasePack.GetInt Method (Int32)

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

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

Syntax

C#

protected virtual int GetInt(
	int offset
)

VB

Protected Overridable Function GetInt ( 
	offset As Integer
) As Integer

C++

protected:
virtual int GetInt(
	int offset
)

F#

abstract GetInt : 
        offset : int -> int 
override GetInt : 
        offset : int -> int 

Parameters

 

offset
Type: System.Int32
Start position for the int conversion.

Return Value

Type: Int32
Int converted from the inner buffer started in offset.

Exceptions

 

Exception Condition
ArgumentOutOfRangeException Throws when offset is larger than the inner buffer length minus sizeof(int).

See Also

Reference

BasePack Class
GetInt Overload
NETLIB Namespace

Clone this wiki locally