C# Class Microsoft.Azure.Amqp.Encoding.AmqpEncoding

Encode and decode data within the AMQP type system.
Mostra file Open project: Azure/azure-amqp Class Usage Examples

Public Methods

Method Description
DecodeObject ( System.ByteBuffer buffer ) : object
DecodeObject ( ByteBuffer buffer, FormatCode formatCode ) : object
EncodeNull ( ByteBuffer buffer ) : void
EncodeObject ( object value, ByteBuffer buffer ) : void
GetEncodeWidthByCountAndSize ( int count, int valueSize ) : int
GetEncodeWidthBySize ( int size ) : int
GetEncoding ( FormatCode formatCode ) : EncodingBase
GetEncoding ( Type type ) : EncodingBase
GetEncoding ( object value ) : EncodingBase
GetEncodingException ( string message ) : AmqpException
GetObjectEncodeSize ( object value ) : int
ReadCount ( ByteBuffer buffer, FormatCode formatCode, FormatCode formatCode8, FormatCode formatCode32, int &count ) : void
ReadFormatCode ( ByteBuffer buffer ) : FormatCode
ReadSizeAndCount ( ByteBuffer buffer, FormatCode formatCode, FormatCode formatCode8, FormatCode formatCode32, int &size, int &count ) : void

Private Methods

Method Description
AmqpEncoding ( ) : System

Method Details

DecodeObject() public static method

public static DecodeObject ( System.ByteBuffer buffer ) : object
buffer System.ByteBuffer
return object

DecodeObject() public static method

public static DecodeObject ( ByteBuffer buffer, FormatCode formatCode ) : object
buffer ByteBuffer
formatCode FormatCode
return object

EncodeNull() public static method

public static EncodeNull ( ByteBuffer buffer ) : void
buffer ByteBuffer
return void

EncodeObject() public static method

public static EncodeObject ( object value, ByteBuffer buffer ) : void
value object
buffer ByteBuffer
return void

GetEncodeWidthByCountAndSize() public static method

public static GetEncodeWidthByCountAndSize ( int count, int valueSize ) : int
count int
valueSize int
return int

GetEncodeWidthBySize() public static method

public static GetEncodeWidthBySize ( int size ) : int
size int
return int

GetEncoding() public static method

public static GetEncoding ( FormatCode formatCode ) : EncodingBase
formatCode FormatCode
return EncodingBase

GetEncoding() public static method

public static GetEncoding ( Type type ) : EncodingBase
type Type
return EncodingBase

GetEncoding() public static method

public static GetEncoding ( object value ) : EncodingBase
value object
return EncodingBase

GetEncodingException() public static method

public static GetEncodingException ( string message ) : AmqpException
message string
return AmqpException

GetObjectEncodeSize() public static method

public static GetObjectEncodeSize ( object value ) : int
value object
return int

ReadCount() public static method

public static ReadCount ( ByteBuffer buffer, FormatCode formatCode, FormatCode formatCode8, FormatCode formatCode32, int &count ) : void
buffer ByteBuffer
formatCode FormatCode
formatCode8 FormatCode
formatCode32 FormatCode
count int
return void

ReadFormatCode() public static method

public static ReadFormatCode ( ByteBuffer buffer ) : FormatCode
buffer ByteBuffer
return FormatCode

ReadSizeAndCount() public static method

public static ReadSizeAndCount ( ByteBuffer buffer, FormatCode formatCode, FormatCode formatCode8, FormatCode formatCode32, int &size, int &count ) : void
buffer ByteBuffer
formatCode FormatCode
formatCode8 FormatCode
formatCode32 FormatCode
size int
count int
return void