Converts a buffer at a given offset to a
UInt16.
Namespace: Couchbase.IO.ConvertersAssembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.0.0.0 (2.0.0.0)
Syntaxpublic ushort ToUInt16(
byte[] buffer,
int offset
)
public ushort ToUInt16(
byte[] buffer,
int offset
)
Public Function ToUInt16 (
buffer As Byte(),
offset As Integer
) As UShort
Public Function ToUInt16 (
buffer As Byte(),
offset As Integer
) As UShort
public:
virtual unsigned short ToUInt16(
array<unsigned char>^ buffer,
int offset
) sealed
public:
virtual unsigned short ToUInt16(
array<unsigned char>^ buffer,
int offset
) sealed
abstract ToUInt16 :
buffer : byte[] *
offset : int -> uint16
override ToUInt16 :
buffer : byte[] *
offset : int -> uint16
abstract ToUInt16 :
buffer : byte[] *
offset : int -> uint16
override ToUInt16 :
buffer : byte[] *
offset : int -> uint16
Parameters
- buffer
- Type:System.Byte[]
The buffer.
- offset
- Type: System.Int32
The offset.
Return Value
Type:
UInt16Implements
IByteConverter.ToUInt16(Byte[], Int32)
See Also