- borrowconst(ubyte)[] borrow(ubyte* buf, size_t len) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- closevoid close() 
- Closing is a no-op() for a memory buffer, it is always open. 
- consumevoid consume(size_t len) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- getContentsconst(ubyte)[] getContents() 
- Returns a read-only view of the current buffer contents. 
- isOpenbool isOpen() 
- A memory transport is always open. 
- openvoid open() 
- Opening is a no-op() for a memory buffer. 
- peekbool peek() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- readsize_t read(ubyte[] buf) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- readAllvoid readAll(ubyte[] buf) 
- Shortcut version of readAll() – using this over TBaseTransport.readAll()
can give us a nice speed increase because gives us a nice speed increase
because it is typically a very hot path during deserialization. 
- resetvoid reset() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- resetvoid reset(size_t capacity) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- writevoid write(ubyte[] buf) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- isOpenbool isOpen() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- peekbool peek() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- openvoid open() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- closevoid close() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- readsize_t read(ubyte[] buf) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- readAllvoid readAll(ubyte[] buf) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- readEndsize_t readEnd() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- writevoid write(ubyte[] buf) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- writeEndsize_t writeEnd() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- flushvoid flush() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- borrowconst(ubyte)[] borrow(ubyte* buf, size_t len) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- consumevoid consume(size_t len) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
A transport that simply reads from and writes to an in-memory buffer. Every time you call write on it, the data is simply placed into a buffer, and every time you call read, data is consumed from that buffer.
Currently, the storage for written data is never reclaimed, even if the buffer contents have already been read out again.