pub fn read_buffer_into_streamer(
which: &RamBuffer,
size: usize,
streamer: &mut RBEventMemoryStreamer,
) -> Result<(), RegisterError>
Expand description
Read a data buffer directly into a RBEventMemory streamer, avoiding the detour over vector.extend (which performs clones), so this should actually be much more efficient.
ยงArguments
- which : Select data buffer to read
- size : in bytes
- streamer : an instance of a RBEventMemoryStreamer