BufferExtensions.ToOpCode Method Couchbase .NET SDK 2.0
Converts a Byte to an OperationCode

Namespace: Couchbase.IO.Utils
Assembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public static OperationCode ToOpCode(
	this byte value
)

Parameters

value
Type: System.Byte

Return Value

Type: OperationCode
A OperationCode enumeration value.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Byte. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks
OperationCode are the available operations supported by Couchbase.
See Also