Proton DotNet
|
Interface for proton buffer primitive type accessors that can be used with custom types to extend or otherwise customize buffer access. More...
Public Member Functions | |
bool | GetBoolean (long index) |
Reads a single byte from the given index and returns a boolean value indicating if the byte was zero (false) or greater than zero (true). | |
sbyte | GetByte (long index) |
Reads a single signed byte from the given index and returns it. | |
byte | GetUnsignedByte (long index) |
Reads a single unsigned byte from the given index and returns it. | |
char | GetChar (long index) |
Reads a single 2 byte char from the given index and returns it. | |
short | GetShort (long index) |
Reads a single 2 byte short from the given index and returns it. | |
ushort | GetUnsignedShort (long index) |
Reads a single 2 byte unsigned short from the given index and returns it. | |
int | GetInt (long index) |
Reads a single 4 byte int from the given index and returns it. | |
uint | GetUnsignedInt (long index) |
Reads a single 4 byte unsigned int from the given index and returns it. | |
long | GetLong (long index) |
Reads a single 8 byte long from the given index and returns it. | |
ulong | GetUnsignedLong (long index) |
Reads a single 8 byte unsigned long from the given index and returns it. | |
float | GetFloat (long index) |
Reads a single 4 byte float from the given index and returns it. | |
double | GetDouble (long index) |
Reads a single 8 byte double from the given index and returns it. | |
IProtonBuffer | SetByte (long index, sbyte value) |
Write the given byte value at the given location in the buffer backing store without modifying the write offset of this buffer. | |
IProtonBuffer | SetUnsignedByte (long index, byte value) |
Write the given unsigned byte value at the given location in the buffer backing store without modifying the write offset of this buffer. | |
IProtonBuffer | SetBoolean (long index, bool value) |
Write the given boolean value at the given location in the buffer backing store without modifying the write offset of this buffer. | |
IProtonBuffer | SetChar (long index, char value) |
Write the given 2 byte char value at the given location in the buffer backing store without modifying the write offset of this buffer. | |
IProtonBuffer | SetShort (long index, short value) |
Write the given 2 byte short value at the given location in the buffer backing store without modifying the write offset of this buffer. | |
IProtonBuffer | SetUnsignedShort (long index, ushort value) |
Write the given 2 byte unsigned short value at the given location in the buffer backing store without modifying the write offset of this buffer. | |
IProtonBuffer | SetInt (long index, int value) |
Write the given 4 byte int value at the given location in the buffer backing store without modifying the write offset of this buffer. | |
IProtonBuffer | SetUnsignedInt (long index, uint value) |
Write the given 4 byte unsigned int value at the given location in the buffer backing store without modifying the write offset of this buffer. | |
IProtonBuffer | SetLong (long index, long value) |
Write the given 8 byte long value at the given location in the buffer backing store without modifying the write offset of this buffer. | |
IProtonBuffer | SetUnsignedLong (long index, ulong value) |
Write the given 8 byte unsigned long value at the given location in the buffer backing store without modifying the write offset of this buffer. | |
IProtonBuffer | SetFloat (long index, float value) |
Write the given 4 byte float value at the given location in the buffer backing store without modifying the write offset of this buffer. | |
IProtonBuffer | SetDouble (long index, double value) |
Write the given 8 byte double value at the given location in the buffer backing store without modifying the write offset of this buffer. | |
sbyte | ReadByte () |
Read a signed byte from the buffer and advance the read offset. | |
byte | ReadUnsignedByte () |
Read a unsigned byte from the buffer and advance the read offset. | |
bool | ReadBoolean () |
Reads the next byte from the buffer and returns the boolean value. | |
char | ReadChar () |
Reads the two bytes from the buffer and returns the char value. | |
short | ReadShort () |
Reads the next two bytes from the buffer and returns the short value. | |
ushort | ReadUnsignedShort () |
Reads the next two bytes from the buffer and returns the unsigned short value. | |
int | ReadInt () |
Reads the next four bytes from the buffer and returns the int value. | |
uint | ReadUnsignedInt () |
Reads the next four bytes from the buffer and returns the unsigned int value. | |
long | ReadLong () |
Reads the next eight bytes from the buffer and returns the long value. | |
ulong | ReadUnsignedLong () |
Reads the next eight bytes from the buffer and returns the unsigned long value. | |
float | ReadFloat () |
Reads the next four bytes from the buffer and returns the float value. | |
double | ReadDouble () |
Reads the next eight bytes from the buffer and returns the double value. | |
IProtonBuffer | WriteByte (sbyte value) |
Writes the given byte value into this buffer and increases the write offset. | |
IProtonBuffer | WriteUnsignedByte (byte value) |
Writes the given unsigned byte value into this buffer and increases the write offset. | |
IProtonBuffer | WriteBoolean (bool value) |
Writes the given boolean value into this buffer as a single byte and increases the write offset. | |
IProtonBuffer | WriteShort (short value) |
Writes the given two byte short value into this buffer and increases the write offset. | |
IProtonBuffer | WriteUnsignedShort (ushort value) |
Writes the given two byte unsigned short value into this buffer and increases the write offset. | |
IProtonBuffer | WriteInt (int value) |
Writes the given four byte int value into this buffer and increases the write offset. | |
IProtonBuffer | WriteUnsignedInt (uint value) |
Writes the given four byte unsigned int value into this buffer and increases the write offset. | |
IProtonBuffer | WriteLong (long value) |
Writes the given eight byte long value into this buffer and increases the write offset. | |
IProtonBuffer | WriteUnsignedLong (ulong value) |
Writes the given eight byte unsigned long value into this buffer and increases the write offset. | |
IProtonBuffer | WriteFloat (float value) |
Writes the given four byte float value into this buffer and increases the write offset. | |
IProtonBuffer | WriteDouble (double value) |
Writes the given eight byte double value into this buffer and increases the write offset. | |
Properties | |
byte | this[long i] [get, set] |
Indexed access to single unsigned byte values within the buffer which does not modify the read or write index value. The given index must adhere to the same constraints as the get byte and set byte level APIs in this buffer class. | |
Interface for proton buffer primitive type accessors that can be used with custom types to extend or otherwise customize buffer access.
bool Apache.Qpid.Proton.Buffer.IProtonBufferAccessors.GetBoolean | ( | long | index | ) |
Reads a single byte from the given index and returns a boolean value indicating if the byte was zero (false) or greater than zero (true).
index |
IndexOutOfRangeException | If the index is negative or larger than buffer capacity |
Implemented in Apache.Qpid.Proton.Buffer.ProtonByteBuffer, and Apache.Qpid.Proton.Buffer.ProtonCompositeBuffer.
sbyte Apache.Qpid.Proton.Buffer.IProtonBufferAccessors.GetByte | ( | long | index | ) |
Reads a single signed byte from the given index and returns it.
index |
IndexOutOfRangeException | If the index is negative or larger than buffer capacity |
Implemented in Apache.Qpid.Proton.Buffer.ProtonByteBuffer, and Apache.Qpid.Proton.Buffer.ProtonCompositeBuffer.
char Apache.Qpid.Proton.Buffer.IProtonBufferAccessors.GetChar | ( | long | index | ) |
Reads a single 2 byte char from the given index and returns it.
index |
IndexOutOfRangeException | If the index is negative or larger than buffer capacity |
Implemented in Apache.Qpid.Proton.Buffer.ProtonByteBuffer, and Apache.Qpid.Proton.Buffer.ProtonCompositeBuffer.
double Apache.Qpid.Proton.Buffer.IProtonBufferAccessors.GetDouble | ( | long | index | ) |
Reads a single 8 byte double from the given index and returns it.
index |
IndexOutOfRangeException | If the index is negative or larger than buffer capacity |
Implemented in Apache.Qpid.Proton.Buffer.ProtonByteBuffer, and Apache.Qpid.Proton.Buffer.ProtonCompositeBuffer.
float Apache.Qpid.Proton.Buffer.IProtonBufferAccessors.GetFloat | ( | long | index | ) |
Reads a single 4 byte float from the given index and returns it.
index |
IndexOutOfRangeException | If the index is negative or larger than buffer capacity |
Implemented in Apache.Qpid.Proton.Buffer.ProtonByteBuffer, and Apache.Qpid.Proton.Buffer.ProtonCompositeBuffer.
int Apache.Qpid.Proton.Buffer.IProtonBufferAccessors.GetInt | ( | long | index | ) |
Reads a single 4 byte int from the given index and returns it.
index |
IndexOutOfRangeException | If the index is negative or larger than buffer capacity |
Implemented in Apache.Qpid.Proton.Buffer.ProtonByteBuffer, and Apache.Qpid.Proton.Buffer.ProtonCompositeBuffer.
long Apache.Qpid.Proton.Buffer.IProtonBufferAccessors.GetLong | ( | long | index | ) |
Reads a single 8 byte long from the given index and returns it.
index |
IndexOutOfRangeException | If the index is negative or larger than buffer capacity |
Implemented in Apache.Qpid.Proton.Buffer.ProtonByteBuffer, and Apache.Qpid.Proton.Buffer.ProtonCompositeBuffer.
short Apache.Qpid.Proton.Buffer.IProtonBufferAccessors.GetShort | ( | long | index | ) |
Reads a single 2 byte short from the given index and returns it.
index |
IndexOutOfRangeException | If the index is negative or larger than buffer capacity |
Implemented in Apache.Qpid.Proton.Buffer.ProtonByteBuffer, and Apache.Qpid.Proton.Buffer.ProtonCompositeBuffer.
byte Apache.Qpid.Proton.Buffer.IProtonBufferAccessors.GetUnsignedByte | ( | long | index | ) |
Reads a single unsigned byte from the given index and returns it.
index |
IndexOutOfRangeException | If the index is negative or larger than buffer capacity |
Implemented in Apache.Qpid.Proton.Buffer.ProtonByteBuffer, and Apache.Qpid.Proton.Buffer.ProtonCompositeBuffer.
uint Apache.Qpid.Proton.Buffer.IProtonBufferAccessors.GetUnsignedInt | ( | long | index | ) |
Reads a single 4 byte unsigned int from the given index and returns it.
index |
IndexOutOfRangeException | If the index is negative or larger than buffer capacity |
Implemented in Apache.Qpid.Proton.Buffer.ProtonByteBuffer, and Apache.Qpid.Proton.Buffer.ProtonCompositeBuffer.
ulong Apache.Qpid.Proton.Buffer.IProtonBufferAccessors.GetUnsignedLong | ( | long | index | ) |
Reads a single 8 byte unsigned long from the given index and returns it.
index |
IndexOutOfRangeException | If the index is negative or larger than buffer capacity |
Implemented in Apache.Qpid.Proton.Buffer.ProtonByteBuffer, and Apache.Qpid.Proton.Buffer.ProtonCompositeBuffer.
ushort Apache.Qpid.Proton.Buffer.IProtonBufferAccessors.GetUnsignedShort | ( | long | index | ) |
Reads a single 2 byte unsigned short from the given index and returns it.
index |
IndexOutOfRangeException | If the index is negative or larger than buffer capacity |
Implemented in Apache.Qpid.Proton.Buffer.ProtonByteBuffer, and Apache.Qpid.Proton.Buffer.ProtonCompositeBuffer.
bool Apache.Qpid.Proton.Buffer.IProtonBufferAccessors.ReadBoolean | ( | ) |
Reads the next byte from the buffer and returns the boolean value.
IndexOutOfRangeException | If there are not enough readable bytes |
Implemented in Apache.Qpid.Proton.Buffer.ProtonByteBuffer, and Apache.Qpid.Proton.Buffer.ProtonCompositeBuffer.
sbyte Apache.Qpid.Proton.Buffer.IProtonBufferAccessors.ReadByte | ( | ) |
Read a signed byte from the buffer and advance the read offset.
IndexOutOfRangeException | If the buffer has no more readable bytes |
Implemented in Apache.Qpid.Proton.Buffer.ProtonByteBuffer, and Apache.Qpid.Proton.Buffer.ProtonCompositeBuffer.
char Apache.Qpid.Proton.Buffer.IProtonBufferAccessors.ReadChar | ( | ) |
Reads the two bytes from the buffer and returns the char value.
IndexOutOfRangeException | If there are not enough readable bytes |
Implemented in Apache.Qpid.Proton.Buffer.ProtonByteBuffer, and Apache.Qpid.Proton.Buffer.ProtonCompositeBuffer.
double Apache.Qpid.Proton.Buffer.IProtonBufferAccessors.ReadDouble | ( | ) |
Reads the next eight bytes from the buffer and returns the double value.
IndexOutOfRangeException | If there are not enough readable bytes |
Implemented in Apache.Qpid.Proton.Buffer.ProtonByteBuffer, and Apache.Qpid.Proton.Buffer.ProtonCompositeBuffer.
float Apache.Qpid.Proton.Buffer.IProtonBufferAccessors.ReadFloat | ( | ) |
Reads the next four bytes from the buffer and returns the float value.
IndexOutOfRangeException | If there are not enough readable bytes |
Implemented in Apache.Qpid.Proton.Buffer.ProtonByteBuffer, and Apache.Qpid.Proton.Buffer.ProtonCompositeBuffer.
int Apache.Qpid.Proton.Buffer.IProtonBufferAccessors.ReadInt | ( | ) |
Reads the next four bytes from the buffer and returns the int value.
IndexOutOfRangeException | If there are not enough readable bytes |
Implemented in Apache.Qpid.Proton.Buffer.ProtonByteBuffer, and Apache.Qpid.Proton.Buffer.ProtonCompositeBuffer.
long Apache.Qpid.Proton.Buffer.IProtonBufferAccessors.ReadLong | ( | ) |
Reads the next eight bytes from the buffer and returns the long value.
IndexOutOfRangeException | If there are not enough readable bytes |
Implemented in Apache.Qpid.Proton.Buffer.ProtonByteBuffer, and Apache.Qpid.Proton.Buffer.ProtonCompositeBuffer.
short Apache.Qpid.Proton.Buffer.IProtonBufferAccessors.ReadShort | ( | ) |
Reads the next two bytes from the buffer and returns the short value.
IndexOutOfRangeException | If there are not enough readable bytes |
Implemented in Apache.Qpid.Proton.Buffer.ProtonByteBuffer, and Apache.Qpid.Proton.Buffer.ProtonCompositeBuffer.
byte Apache.Qpid.Proton.Buffer.IProtonBufferAccessors.ReadUnsignedByte | ( | ) |
Read a unsigned byte from the buffer and advance the read offset.
IndexOutOfRangeException | If the buffer has no more readable bytes |
Implemented in Apache.Qpid.Proton.Buffer.ProtonByteBuffer, and Apache.Qpid.Proton.Buffer.ProtonCompositeBuffer.
uint Apache.Qpid.Proton.Buffer.IProtonBufferAccessors.ReadUnsignedInt | ( | ) |
Reads the next four bytes from the buffer and returns the unsigned int value.
IndexOutOfRangeException | If there are not enough readable bytes |
Implemented in Apache.Qpid.Proton.Buffer.ProtonByteBuffer, and Apache.Qpid.Proton.Buffer.ProtonCompositeBuffer.
ulong Apache.Qpid.Proton.Buffer.IProtonBufferAccessors.ReadUnsignedLong | ( | ) |
Reads the next eight bytes from the buffer and returns the unsigned long value.
IndexOutOfRangeException | If there are not enough readable bytes |
Implemented in Apache.Qpid.Proton.Buffer.ProtonByteBuffer, and Apache.Qpid.Proton.Buffer.ProtonCompositeBuffer.
ushort Apache.Qpid.Proton.Buffer.IProtonBufferAccessors.ReadUnsignedShort | ( | ) |
Reads the next two bytes from the buffer and returns the unsigned short value.
IndexOutOfRangeException | If there are not enough readable bytes |
Implemented in Apache.Qpid.Proton.Buffer.ProtonByteBuffer, and Apache.Qpid.Proton.Buffer.ProtonCompositeBuffer.
IProtonBuffer Apache.Qpid.Proton.Buffer.IProtonBufferAccessors.SetBoolean | ( | long | index, |
bool | value | ||
) |
Write the given boolean value at the given location in the buffer backing store without modifying the write offset of this buffer.
index | The index in the buffer where the write should occur |
value | The value to be written at the specified index |
IndexOutOfRangeException | If the index is negative or larger than buffer capacity |
Implemented in Apache.Qpid.Proton.Buffer.ProtonByteBuffer, and Apache.Qpid.Proton.Buffer.ProtonCompositeBuffer.
IProtonBuffer Apache.Qpid.Proton.Buffer.IProtonBufferAccessors.SetByte | ( | long | index, |
sbyte | value | ||
) |
Write the given byte value at the given location in the buffer backing store without modifying the write offset of this buffer.
index | The index in the buffer where the write should occur |
value | The value to be written at the specified index |
IndexOutOfRangeException | If the index is negative or larger than buffer capacity |
Implemented in Apache.Qpid.Proton.Buffer.ProtonByteBuffer, and Apache.Qpid.Proton.Buffer.ProtonCompositeBuffer.
IProtonBuffer Apache.Qpid.Proton.Buffer.IProtonBufferAccessors.SetChar | ( | long | index, |
char | value | ||
) |
Write the given 2 byte char value at the given location in the buffer backing store without modifying the write offset of this buffer.
index | The index in the buffer where the write should occur |
value | The value to be written at the specified index |
IndexOutOfRangeException | If the index is negative or larger than buffer capacity |
Implemented in Apache.Qpid.Proton.Buffer.ProtonByteBuffer, and Apache.Qpid.Proton.Buffer.ProtonCompositeBuffer.
IProtonBuffer Apache.Qpid.Proton.Buffer.IProtonBufferAccessors.SetDouble | ( | long | index, |
double | value | ||
) |
Write the given 8 byte double value at the given location in the buffer backing store without modifying the write offset of this buffer.
index | The index in the buffer where the write should occur |
value | The value to be written at the specified index |
IndexOutOfRangeException | If the index is negative or larger than buffer capacity |
Implemented in Apache.Qpid.Proton.Buffer.ProtonByteBuffer, and Apache.Qpid.Proton.Buffer.ProtonCompositeBuffer.
IProtonBuffer Apache.Qpid.Proton.Buffer.IProtonBufferAccessors.SetFloat | ( | long | index, |
float | value | ||
) |
Write the given 4 byte float value at the given location in the buffer backing store without modifying the write offset of this buffer.
index | The index in the buffer where the write should occur |
value | The value to be written at the specified index |
IndexOutOfRangeException | If the index is negative or larger than buffer capacity |
Implemented in Apache.Qpid.Proton.Buffer.ProtonByteBuffer, and Apache.Qpid.Proton.Buffer.ProtonCompositeBuffer.
IProtonBuffer Apache.Qpid.Proton.Buffer.IProtonBufferAccessors.SetInt | ( | long | index, |
int | value | ||
) |
Write the given 4 byte int value at the given location in the buffer backing store without modifying the write offset of this buffer.
index | The index in the buffer where the write should occur |
value | The value to be written at the specified index |
IndexOutOfRangeException | If the index is negative or larger than buffer capacity |
Implemented in Apache.Qpid.Proton.Buffer.ProtonByteBuffer, and Apache.Qpid.Proton.Buffer.ProtonCompositeBuffer.
IProtonBuffer Apache.Qpid.Proton.Buffer.IProtonBufferAccessors.SetLong | ( | long | index, |
long | value | ||
) |
Write the given 8 byte long value at the given location in the buffer backing store without modifying the write offset of this buffer.
index | The index in the buffer where the write should occur |
value | The value to be written at the specified index |
IndexOutOfRangeException | If the index is negative or larger than buffer capacity |
Implemented in Apache.Qpid.Proton.Buffer.ProtonByteBuffer, and Apache.Qpid.Proton.Buffer.ProtonCompositeBuffer.
IProtonBuffer Apache.Qpid.Proton.Buffer.IProtonBufferAccessors.SetShort | ( | long | index, |
short | value | ||
) |
Write the given 2 byte short value at the given location in the buffer backing store without modifying the write offset of this buffer.
index | The index in the buffer where the write should occur |
value | The value to be written at the specified index |
IndexOutOfRangeException | If the index is negative or larger than buffer capacity |
Implemented in Apache.Qpid.Proton.Buffer.ProtonByteBuffer, and Apache.Qpid.Proton.Buffer.ProtonCompositeBuffer.
IProtonBuffer Apache.Qpid.Proton.Buffer.IProtonBufferAccessors.SetUnsignedByte | ( | long | index, |
byte | value | ||
) |
Write the given unsigned byte value at the given location in the buffer backing store without modifying the write offset of this buffer.
index | The index in the buffer where the write should occur |
value | The value to be written at the specified index |
IndexOutOfRangeException | If the index is negative or larger than buffer capacity |
Implemented in Apache.Qpid.Proton.Buffer.ProtonByteBuffer, and Apache.Qpid.Proton.Buffer.ProtonCompositeBuffer.
IProtonBuffer Apache.Qpid.Proton.Buffer.IProtonBufferAccessors.SetUnsignedInt | ( | long | index, |
uint | value | ||
) |
Write the given 4 byte unsigned int value at the given location in the buffer backing store without modifying the write offset of this buffer.
index | The index in the buffer where the write should occur |
value | The value to be written at the specified index |
IndexOutOfRangeException | If the index is negative or larger than buffer capacity |
Implemented in Apache.Qpid.Proton.Buffer.ProtonByteBuffer, and Apache.Qpid.Proton.Buffer.ProtonCompositeBuffer.
IProtonBuffer Apache.Qpid.Proton.Buffer.IProtonBufferAccessors.SetUnsignedLong | ( | long | index, |
ulong | value | ||
) |
Write the given 8 byte unsigned long value at the given location in the buffer backing store without modifying the write offset of this buffer.
index | The index in the buffer where the write should occur |
value | The value to be written at the specified index |
IndexOutOfRangeException | If the index is negative or larger than buffer capacity |
Implemented in Apache.Qpid.Proton.Buffer.ProtonByteBuffer, and Apache.Qpid.Proton.Buffer.ProtonCompositeBuffer.
IProtonBuffer Apache.Qpid.Proton.Buffer.IProtonBufferAccessors.SetUnsignedShort | ( | long | index, |
ushort | value | ||
) |
Write the given 2 byte unsigned short value at the given location in the buffer backing store without modifying the write offset of this buffer.
index | The index in the buffer where the write should occur |
value | The value to be written at the specified index |
IndexOutOfRangeException | If the index is negative or larger than buffer capacity |
Implemented in Apache.Qpid.Proton.Buffer.ProtonByteBuffer, and Apache.Qpid.Proton.Buffer.ProtonCompositeBuffer.
IProtonBuffer Apache.Qpid.Proton.Buffer.IProtonBufferAccessors.WriteBoolean | ( | bool | value | ) |
Writes the given boolean value into this buffer as a single byte and increases the write offset.
value | The value to write into this buffer |
IndexOutOfRangeException | If there are not enough writable bytes |
Implemented in Apache.Qpid.Proton.Buffer.ProtonByteBuffer, and Apache.Qpid.Proton.Buffer.ProtonCompositeBuffer.
IProtonBuffer Apache.Qpid.Proton.Buffer.IProtonBufferAccessors.WriteByte | ( | sbyte | value | ) |
Writes the given byte value into this buffer and increases the write offset.
value | The value to write into this buffer |
IndexOutOfRangeException | If there are not enough writable bytes |
Implemented in Apache.Qpid.Proton.Buffer.ProtonByteBuffer, and Apache.Qpid.Proton.Buffer.ProtonCompositeBuffer.
IProtonBuffer Apache.Qpid.Proton.Buffer.IProtonBufferAccessors.WriteDouble | ( | double | value | ) |
Writes the given eight byte double value into this buffer and increases the write offset.
value | The value to write into this buffer |
IndexOutOfRangeException | If there are not enough writable bytes |
Implemented in Apache.Qpid.Proton.Buffer.ProtonByteBuffer, and Apache.Qpid.Proton.Buffer.ProtonCompositeBuffer.
IProtonBuffer Apache.Qpid.Proton.Buffer.IProtonBufferAccessors.WriteFloat | ( | float | value | ) |
Writes the given four byte float value into this buffer and increases the write offset.
value | The value to write into this buffer |
IndexOutOfRangeException | If there are not enough writable bytes |
Implemented in Apache.Qpid.Proton.Buffer.ProtonByteBuffer, and Apache.Qpid.Proton.Buffer.ProtonCompositeBuffer.
IProtonBuffer Apache.Qpid.Proton.Buffer.IProtonBufferAccessors.WriteInt | ( | int | value | ) |
Writes the given four byte int value into this buffer and increases the write offset.
value | The value to write into this buffer |
IndexOutOfRangeException | If there are not enough writable bytes |
Implemented in Apache.Qpid.Proton.Buffer.ProtonByteBuffer, and Apache.Qpid.Proton.Buffer.ProtonCompositeBuffer.
IProtonBuffer Apache.Qpid.Proton.Buffer.IProtonBufferAccessors.WriteLong | ( | long | value | ) |
Writes the given eight byte long value into this buffer and increases the write offset.
value | The value to write into this buffer |
IndexOutOfRangeException | If there are not enough writable bytes |
Implemented in Apache.Qpid.Proton.Buffer.ProtonByteBuffer, and Apache.Qpid.Proton.Buffer.ProtonCompositeBuffer.
IProtonBuffer Apache.Qpid.Proton.Buffer.IProtonBufferAccessors.WriteShort | ( | short | value | ) |
Writes the given two byte short value into this buffer and increases the write offset.
value | The value to write into this buffer |
IndexOutOfRangeException | If there are not enough writable bytes |
Implemented in Apache.Qpid.Proton.Buffer.ProtonByteBuffer, and Apache.Qpid.Proton.Buffer.ProtonCompositeBuffer.
IProtonBuffer Apache.Qpid.Proton.Buffer.IProtonBufferAccessors.WriteUnsignedByte | ( | byte | value | ) |
Writes the given unsigned byte value into this buffer and increases the write offset.
value | The value to write into this buffer |
IndexOutOfRangeException | If there are not enough writable bytes |
Implemented in Apache.Qpid.Proton.Buffer.ProtonByteBuffer, and Apache.Qpid.Proton.Buffer.ProtonCompositeBuffer.
IProtonBuffer Apache.Qpid.Proton.Buffer.IProtonBufferAccessors.WriteUnsignedInt | ( | uint | value | ) |
Writes the given four byte unsigned int value into this buffer and increases the write offset.
value | The value to write into this buffer |
IndexOutOfRangeException | If there are not enough writable bytes |
Implemented in Apache.Qpid.Proton.Buffer.ProtonByteBuffer, and Apache.Qpid.Proton.Buffer.ProtonCompositeBuffer.
IProtonBuffer Apache.Qpid.Proton.Buffer.IProtonBufferAccessors.WriteUnsignedLong | ( | ulong | value | ) |
Writes the given eight byte unsigned long value into this buffer and increases the write offset.
value | The value to write into this buffer |
IndexOutOfRangeException | If there are not enough writable bytes |
Implemented in Apache.Qpid.Proton.Buffer.ProtonByteBuffer, and Apache.Qpid.Proton.Buffer.ProtonCompositeBuffer.
IProtonBuffer Apache.Qpid.Proton.Buffer.IProtonBufferAccessors.WriteUnsignedShort | ( | ushort | value | ) |
Writes the given two byte unsigned short value into this buffer and increases the write offset.
value | The value to write into this buffer |
IndexOutOfRangeException | If there are not enough writable bytes |
Implemented in Apache.Qpid.Proton.Buffer.ProtonByteBuffer, and Apache.Qpid.Proton.Buffer.ProtonCompositeBuffer.
|
getset |
Indexed access to single unsigned byte values within the buffer which does not modify the read or write index value. The given index must adhere to the same constraints as the get byte and set byte level APIs in this buffer class.
i |
IndexOutOfRangeException | If the index is negative or larger than buffer capacity |