License:
BSD style: see license.txt
Version:
Jan 2007: initial release
author:
Kris
- class
IProtocol
;
- alias
Writer
;
- abstract IBuffer
buffer
();
- abstract void[]
read
(void* dst, uint bytes, Type type);
- abstract void
write
(void* src, uint bytes, Type type);
- abstract void[]
readArray
(void* dst, uint bytes, Type type, void[] delegate(void[] delegate(void* dst, uint bytes, Type type) reader, uint bytes, Type type) alloc);
- abstract void
writeArray
(void* src, uint bytes, Type type);
- class
IAllocator
;
- abstract void
reset
();
- abstract IProtocol
protocol
();
- abstract void[]
allocate
(void[] delegate(void* dst, uint bytes, Type type), uint bytes, Type);
|