ewe.io
Class ByteArrayRandomStream

java.lang.Object
  extended byewe.io.RandomStream
      extended byewe.io.ByteArrayRandomStream

public class ByteArrayRandomStream
extends RandomStream


Field Summary
 
Fields inherited from class ewe.io.RandomStream
closed, noWritingAllowed, ras
 
Constructor Summary
ByteArrayRandomStream()
           
ByteArrayRandomStream(ByteArray dataToUse, String mode)
           
ByteArrayRandomStream(int capacity)
           
 
Method Summary
 byte[] toByteArray()
           
 ByteArray toByteArray(ByteArray dest)
           
 
Methods inherited from class ewe.io.RandomStream
available, cantWrite, canWrite, checkClosed, close, flush, getFastStream, length, read, read, read, readSingleByteFromMultiByteRead, seek, setLength, shutdown, skip, tell, toInputStream, toOutputStream, toRandomAccessStream, toReadableStream, toWritableStream, write, write, write, writeSingleByteToMultiByteWrite
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, toString
 

Constructor Detail

ByteArrayRandomStream

public ByteArrayRandomStream(int capacity)

ByteArrayRandomStream

public ByteArrayRandomStream()

ByteArrayRandomStream

public ByteArrayRandomStream(ByteArray dataToUse,
                             String mode)
Method Detail

toByteArray

public byte[] toByteArray()

toByteArray

public ByteArray toByteArray(ByteArray dest)