Encodes the specified value.
Namespace: Couchbase.Core.TranscodersAssembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.1.0.0 (2.1.0.0)
Syntax public byte[] Encode<T>(
T value,
Flags flags,
OperationCode opcode
)
public byte[] Encode<T>(
T value,
Flags flags,
OperationCode opcode
)
Public Function Encode(Of T) (
value As T,
flags As Flags,
opcode As OperationCode
) As Byte()
Public Function Encode(Of T) (
value As T,
flags As Flags,
opcode As OperationCode
) As Byte()
public:
generic<typename T>
virtual array<unsigned char>^ Encode(
T value,
Flags flags,
OperationCode opcode
) sealed
public:
generic<typename T>
virtual array<unsigned char>^ Encode(
T value,
Flags flags,
OperationCode opcode
) sealed
abstract Encode :
value : 'T *
flags : Flags *
opcode : OperationCode -> byte[]
override Encode :
value : 'T *
flags : Flags *
opcode : OperationCode -> byte[]
abstract Encode :
value : 'T *
flags : Flags *
opcode : OperationCode -> byte[]
override Encode :
value : 'T *
flags : Flags *
opcode : OperationCode -> byte[]
Parameters
- value
- Type: T
The value of the key to encode.
- flags
- Type: Couchbase.IO.Operations Flags
The flags used for decoding the response.
- opcode
- Type: Couchbase.IO.Operations OperationCode
Type Parameters Return Value
Type:
Byte Implements
ITypeTranscoder Encode T (T, Flags, OperationCode)Exceptions See Also