Writes a
Int16 to a buffer starting at a given offset.
Namespace: Couchbase.IO.ConvertersAssembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.1.0.0 (2.1.0.0)
Syntax public void FromInt16(
short value,
ref byte[] buffer,
int offset,
bool useNbo
)
public void FromInt16(
short value,
ref byte[] buffer,
int offset,
bool useNbo
)
Public Sub FromInt16 (
value As Short,
ByRef buffer As Byte(),
offset As Integer,
useNbo As Boolean
)
Public Sub FromInt16 (
value As Short,
ByRef buffer As Byte(),
offset As Integer,
useNbo As Boolean
)
public:
virtual void FromInt16(
short value,
array<unsigned char>^% buffer,
int offset,
bool useNbo
) sealed
public:
virtual void FromInt16(
short value,
array<unsigned char>^% buffer,
int offset,
bool useNbo
) sealed
abstract FromInt16 :
value : int16 *
buffer : byte[] byref *
offset : int *
useNbo : bool -> unit
override FromInt16 :
value : int16 *
buffer : byte[] byref *
offset : int *
useNbo : bool -> unit
abstract FromInt16 :
value : int16 *
buffer : byte[] byref *
offset : int *
useNbo : bool -> unit
override FromInt16 :
value : int16 *
buffer : byte[] byref *
offset : int *
useNbo : bool -> unit
Parameters
- value
- Type: System Int16
The value.
- buffer
- Type: System Byte
The buffer.
- offset
- Type: System Int32
The offset.
- useNbo
- Type: System Boolean
If true will make most significant byte first.
Implements
IByteConverter FromInt16(Int16, Byte , Int32, Boolean)See Also