Writes a
Int16 to a buffer at a given offset.
Namespace: Couchbase.IO.ConvertersAssembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.0.0.0 (2.0.0.0)
Syntaxpublic void FromInt16(
short value,
ref byte[] buffer,
int offset
)
public void FromInt16(
short value,
ref byte[] buffer,
int offset
)
Public Sub FromInt16 (
value As Short,
ByRef buffer As Byte(),
offset As Integer
)
Public Sub FromInt16 (
value As Short,
ByRef buffer As Byte(),
offset As Integer
)
public:
virtual void FromInt16(
short value,
array<unsigned char>^% buffer,
int offset
) sealed
public:
virtual void FromInt16(
short value,
array<unsigned char>^% buffer,
int offset
) sealed
abstract FromInt16 :
value : int16 *
buffer : byte[] byref *
offset : int -> unit
override FromInt16 :
value : int16 *
buffer : byte[] byref *
offset : int -> unit
abstract FromInt16 :
value : int16 *
buffer : byte[] byref *
offset : int -> unit
override FromInt16 :
value : int16 *
buffer : byte[] byref *
offset : int -> unit
Parameters
- value
- Type: System.Int16
The value.
- buffer
- Type:System.Byte[]
The buffer.
- offset
- Type: System.Int32
The offset.
Implements
IByteConverter.FromInt16(Int16,Byte[], Int32)
RemarksWill create the buffer if null or empty.
See Also