Converter.ToInt16 Method

Definition

Overloads

ToInt16(Byte[], Int32)
ToInt16(Byte[], Int32, EndianType)

ToInt16(Byte[], Int32)

public:
 static short ToInt16(cli::array <System::Byte> ^ bytes, int index);
public static short ToInt16 (byte[] bytes, int index);
static member ToInt16 : byte[] * int -> int16
Public Shared Function ToInt16 (bytes As Byte(), index As Integer) As Short

Parameters

bytes
Byte[]
index
Int32

Returns

Int16

Applies to

ToInt16(Byte[], Int32, EndianType)

public:
 static short ToInt16(cli::array <System::Byte> ^ bytes, int index, Microsoft::HostIntegration::Drda::Common::EndianType endianType);
public static short ToInt16 (byte[] bytes, int index, Microsoft.HostIntegration.Drda.Common.EndianType endianType);
static member ToInt16 : byte[] * int * Microsoft.HostIntegration.Drda.Common.EndianType -> int16

Parameters

bytes
Byte[]
index
Int32
endianType
EndianType

Returns

Int16

Applies to