io: add QIOChannelBuffer class
Add a QIOChannel subclass that is capable of performing I/O
to/from a memory buffer. This implementation does not attempt
to support concurrent readers & writers. It is designed for
serialized access where by a single thread at a time may write
data, seek and then read data back out.
Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
Showing
include/io/channel-buffer.h
0 → 100644
io/channel-buffer.c
0 → 100644
tests/test-io-channel-buffer.c
0 → 100644
想要评论请 注册 或 登录