C# Class Microsoft.Azure.Amqp.ByteBuffer

Inheritance: IDisposable, ICloneable
Show file Open project: Azure/azure-amqp Class Usage Examples

Public Methods

Method Description
AdjustPosition ( int offset, int length ) : void
Append ( int size ) : void
ByteBuffer ( ArraySegment array ) : System
ByteBuffer ( byte buffer ) : System
ByteBuffer ( byte buffer, bool autoGrow ) : System
ByteBuffer ( byte buffer, int offset, int count ) : System
ByteBuffer ( int size, bool autoGrow ) : System
ByteBuffer ( int size, bool autoGrow, bool isTransportBuffer ) : System
Clone ( ) : object
Complete ( int size ) : void
Dispose ( ) : void
InitBufferManagers ( ) : void
Reset ( ) : void
Seek ( int seekPosition ) : void
Validate ( bool write, int dataSize ) : void

Private Methods

Method Description
AddReference ( ) : void
AllocateBuffer ( int size, InternalBufferManager bufferManager ) : ManagedBuffer
AllocateBufferFromPool ( int size, bool isTransportBuffer ) : ManagedBuffer
ByteBuffer ( ManagedBuffer bufferReference, bool autoGrow, int size ) : System
ByteBuffer ( byte buffer, int offset, int count, int size, bool autoGrow, InternalBufferManager bufferManager ) : System
RemoveReference ( ) : void

Method Details

AdjustPosition() public method

public AdjustPosition ( int offset, int length ) : void
offset int
length int
return void

Append() public method

public Append ( int size ) : void
size int
return void

ByteBuffer() public method

public ByteBuffer ( ArraySegment array ) : System
array ArraySegment
return System

ByteBuffer() public method

public ByteBuffer ( byte buffer ) : System
buffer byte
return System

ByteBuffer() public method

public ByteBuffer ( byte buffer, bool autoGrow ) : System
buffer byte
autoGrow bool
return System

ByteBuffer() public method

public ByteBuffer ( byte buffer, int offset, int count ) : System
buffer byte
offset int
count int
return System

ByteBuffer() public method

public ByteBuffer ( int size, bool autoGrow ) : System
size int
autoGrow bool
return System

ByteBuffer() public method

public ByteBuffer ( int size, bool autoGrow, bool isTransportBuffer ) : System
size int
autoGrow bool
isTransportBuffer bool
return System

Clone() public method

public Clone ( ) : object
return object

Complete() public method

public Complete ( int size ) : void
size int
return void

Dispose() public method

public Dispose ( ) : void
return void

InitBufferManagers() public static method

public static InitBufferManagers ( ) : void
return void

Reset() public method

public Reset ( ) : void
return void

Seek() public method

public Seek ( int seekPosition ) : void
seekPosition int
return void

Validate() public method

public Validate ( bool write, int dataSize ) : void
write bool
dataSize int
return void