Project:dool
Class List Class Hierarchy
Summary: Ctors Methods

Module dool.io.MemoryStream

Class MemoryStream

Implemented interfaces:
TArrayStream!, (
class MemoryStream



Constructor Summary
()
          
(ubyte buf)
          
(byte buf)
          
(char buf)
          

Methods Summary
void reserve(uint count)
          
ubyte data()
          
override uint writeBlock(void* buffer, uint size)
          
override char toString()
          


this ()
//clear to an empty buffer.
this (ubyte[] buf)
//use this buffer, non-copying.
this (byte[] buf)
//use this buffer, non-copying.
this (char[] buf)
//use this buffer, non-copying.
void reserve(uint count)
//ensure the stream can hold this many bytes.
ubyte [] data()
//returns pointer to stream data
override uint writeBlock(void* buffer, uint size)

override char [] toString()