Block
- class iio.Block : iio.IIOObject
Public Functions
- Block (BufferStream buf_stream, uint size)
- void fill (byte[] array)
Copy the given array of samples inside the iio.IOBuffer object.
The number of samples written will not exceed the size of the buffer.
- Param array:
A
bytearray containing the samples that should be written.
- void read (byte[] array)
Extract the samples from the iio.IOBuffer object.
- Param array:
A
bytearray containing the extracted samples.
- IntPtr first (Channel ch)
Gets a pointer to the first sample from the current buffer for a specific channel.
- Param ch:
The channel for which to find the first sample.