DefaultTranscoder Encode T  Method (T, Flags, OperationCode)Couchbase .NET SDK 2.1.0 Documentation
Encodes the specified value.

Namespace: Couchbase.Core.Transcoders
Assembly: 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
)

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
T

Return Value

Type:  Byte 

Implements

ITypeTranscoder Encode T (T, Flags, OperationCode)
Exceptions
See Also