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

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

Méthodes publiques

Méthode 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

Méthode Description
AmqpEncoding ( ) : System

Method Details

DecodeObject() public static méthode

public static DecodeObject ( System.ByteBuffer buffer ) : object
buffer System.ByteBuffer
Résultat object

DecodeObject() public static méthode

public static DecodeObject ( ByteBuffer buffer, FormatCode formatCode ) : object
buffer ByteBuffer
formatCode FormatCode
Résultat object

EncodeNull() public static méthode

public static EncodeNull ( ByteBuffer buffer ) : void
buffer ByteBuffer
Résultat void

EncodeObject() public static méthode

public static EncodeObject ( object value, ByteBuffer buffer ) : void
value object
buffer ByteBuffer
Résultat void

GetEncodeWidthByCountAndSize() public static méthode

public static GetEncodeWidthByCountAndSize ( int count, int valueSize ) : int
count int
valueSize int
Résultat int

GetEncodeWidthBySize() public static méthode

public static GetEncodeWidthBySize ( int size ) : int
size int
Résultat int

GetEncoding() public static méthode

public static GetEncoding ( FormatCode formatCode ) : EncodingBase
formatCode FormatCode
Résultat EncodingBase

GetEncoding() public static méthode

public static GetEncoding ( Type type ) : EncodingBase
type Type
Résultat EncodingBase

GetEncoding() public static méthode

public static GetEncoding ( object value ) : EncodingBase
value object
Résultat EncodingBase

GetEncodingException() public static méthode

public static GetEncodingException ( string message ) : AmqpException
message string
Résultat AmqpException

GetObjectEncodeSize() public static méthode

public static GetObjectEncodeSize ( object value ) : int
value object
Résultat int

ReadCount() public static méthode

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

ReadFormatCode() public static méthode

public static ReadFormatCode ( ByteBuffer buffer ) : FormatCode
buffer ByteBuffer
Résultat FormatCode

ReadSizeAndCount() public static méthode

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
Résultat void