AMPS C# Client  5.3.5.0
AMPS C# Client for .NET
AMPS.Client.BlockPublishStore.Buffer Interface Reference

Interface which is used to hold the BlockPublishStore buffer data. More...

+ Inheritance diagram for AMPS.Client.BlockPublishStore.Buffer:

Public Member Functions

long getSize ()
 Returns the size of the buffer More...
 
void setSize (long newSize)
 Sets the size of the buffer More...
 
long getPosition ()
 Returns the current position in the buffer More...
 
void setPosition (long position)
 Sets thd current postion in the buffer More...
 
void putByte (byte b)
 Writes a byte to the buffer More...
 
byte getByte ()
 Reads a byte from the buffer More...
 
void putInt (int i)
 Writes an integer to the buffer More...
 
void putInt (long position, int i)
 Writes an integer to a specified position in the buffer More...
 
int getInt ()
 Reads an integer from the buffer More...
 
int getInt (long position)
 Reads an integer from a specified position in the buffer More...
 
void putLong (long l)
 Writes a long to the buffer More...
 
void putLong (long position, long l)
 Writes a long to a specified position in the buffer More...
 
long getLong ()
 Reads a long from the buffer More...
 
void putUlong (ulong l)
 Writes an unsigned long to the buffer More...
 
void putUlong (long position, ulong l)
 Writes an unsigned long to a specified position in the buffer More...
 
ulong getUlong ()
 Reads an unsigned long from the buffer More...
 
void putBytes (ByteSequence bytes)
 Writes a ByteSequence to the buffer More...
 
void getBytes (ByteSequence outBytes)
 Reads a ByteSequence from the buffer More...
 
void putBytes (byte[] buffer, int offset, int length)
 Writes a byte array to the buffer More...
 
void getBytes (Field outBytes, int length)
 Reads data into a Field object from the buffer More...
 
void zero (long offset, int length)
 Sets a range of bytes to zero in the buffer More...
 

Detailed Description

Interface which is used to hold the BlockPublishStore buffer data.

Member Function Documentation

◆ getByte()

byte AMPS.Client.BlockPublishStore.Buffer.getByte ( )

Reads a byte from the buffer

Implemented in AMPS.Client.MemoryStoreBuffer.

◆ getBytes() [1/2]

void AMPS.Client.BlockPublishStore.Buffer.getBytes ( ByteSequence  outBytes)

Reads a ByteSequence from the buffer

Implemented in AMPS.Client.MemoryStoreBuffer.

◆ getBytes() [2/2]

void AMPS.Client.BlockPublishStore.Buffer.getBytes ( Field  outBytes,
int  length 
)

Reads data into a Field object from the buffer

◆ getInt() [1/2]

int AMPS.Client.BlockPublishStore.Buffer.getInt ( )

Reads an integer from the buffer

Implemented in AMPS.Client.MemoryStoreBuffer.

◆ getInt() [2/2]

int AMPS.Client.BlockPublishStore.Buffer.getInt ( long  position)

Reads an integer from a specified position in the buffer

Implemented in AMPS.Client.MemoryStoreBuffer.

◆ getLong()

long AMPS.Client.BlockPublishStore.Buffer.getLong ( )

Reads a long from the buffer

Implemented in AMPS.Client.MemoryStoreBuffer.

◆ getPosition()

long AMPS.Client.BlockPublishStore.Buffer.getPosition ( )

Returns the current position in the buffer

Implemented in AMPS.Client.MemoryStoreBuffer.

◆ getSize()

long AMPS.Client.BlockPublishStore.Buffer.getSize ( )

Returns the size of the buffer

Implemented in AMPS.Client.MemoryStoreBuffer.

◆ getUlong()

ulong AMPS.Client.BlockPublishStore.Buffer.getUlong ( )

Reads an unsigned long from the buffer

Implemented in AMPS.Client.MemoryStoreBuffer.

◆ putByte()

void AMPS.Client.BlockPublishStore.Buffer.putByte ( byte  b)

Writes a byte to the buffer

Implemented in AMPS.Client.MemoryStoreBuffer.

◆ putBytes() [1/2]

void AMPS.Client.BlockPublishStore.Buffer.putBytes ( byte[]  buffer,
int  offset,
int  length 
)

Writes a byte array to the buffer

Implemented in AMPS.Client.MemoryStoreBuffer.

◆ putBytes() [2/2]

void AMPS.Client.BlockPublishStore.Buffer.putBytes ( ByteSequence  bytes)

Writes a ByteSequence to the buffer

Implemented in AMPS.Client.MemoryStoreBuffer.

◆ putInt() [1/2]

void AMPS.Client.BlockPublishStore.Buffer.putInt ( int  i)

Writes an integer to the buffer

Implemented in AMPS.Client.MemoryStoreBuffer.

◆ putInt() [2/2]

void AMPS.Client.BlockPublishStore.Buffer.putInt ( long  position,
int  i 
)

Writes an integer to a specified position in the buffer

Implemented in AMPS.Client.MemoryStoreBuffer.

◆ putLong() [1/2]

void AMPS.Client.BlockPublishStore.Buffer.putLong ( long  l)

Writes a long to the buffer

Implemented in AMPS.Client.MemoryStoreBuffer.

◆ putLong() [2/2]

void AMPS.Client.BlockPublishStore.Buffer.putLong ( long  position,
long  l 
)

Writes a long to a specified position in the buffer

Implemented in AMPS.Client.MemoryStoreBuffer.

◆ putUlong() [1/2]

void AMPS.Client.BlockPublishStore.Buffer.putUlong ( long  position,
ulong  l 
)

Writes an unsigned long to a specified position in the buffer

Implemented in AMPS.Client.MemoryStoreBuffer.

◆ putUlong() [2/2]

void AMPS.Client.BlockPublishStore.Buffer.putUlong ( ulong  l)

Writes an unsigned long to the buffer

Implemented in AMPS.Client.MemoryStoreBuffer.

◆ setPosition()

void AMPS.Client.BlockPublishStore.Buffer.setPosition ( long  position)

Sets thd current postion in the buffer

Implemented in AMPS.Client.MemoryStoreBuffer.

◆ setSize()

void AMPS.Client.BlockPublishStore.Buffer.setSize ( long  newSize)

Sets the size of the buffer

Implemented in AMPS.Client.MemoryStoreBuffer.

◆ zero()

void AMPS.Client.BlockPublishStore.Buffer.zero ( long  offset,
int  length 
)

Sets a range of bytes to zero in the buffer

Implemented in AMPS.Client.MemoryStoreBuffer.


The documentation for this interface was generated from the following file: