Převede byty z pole bytů na Int32.

Jmenný prostor:  SGP.XUtility
Knihovna:  SGP.XUtility (v SGP.XUtility)
Verze: dll

Syntaxe

C#
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
public static int ToInt32(
	byte[] buffer,
	int offset,
	XByteOrder order
)

Parametry

buffer
Typ: array< System..::.Byte >[]()[]
Pole bytů.
offset
Typ: System..::.Int32
Začátek.
order
Typ: SGP.XUtility..::.XByteOrder
Řazení bytů.

Návratová hodnota

Hodnotu 4 bytů jako Int32.

Výjimky

VýjimkaPodmínka
System..::.ArgumentNullException buffer je nullNothingnullptrnulová reference (Nothing v Visual Basic).

Podívat se také na