SetBuffer Method (PubSubBuffer)
- Last UpdatedApr 08, 2026
- 1 minute read
Sets the internal System.Byte buffer to be the same as the provided one.
public void SetBuffer(
IntPtr pBuffer,
int bufferSize,
int inUseBytes
)
public:
void SetBuffer(
IntPtr pBuffer,
int bufferSize,
int inUseBytes
)
Parameters
- pBuffer
- The new System.Byte array.
- bufferSize
- The total size of the System.Byte array.
- inUseBytes
- The number of bytes used in the buffer.