Overview | This Package | All Packages
Constructors | Description |
MemoryStream | Creates a MemoryStream object. |
Methods | Description |
getCapacity | Retrieves the current size of the stream. |
getLength | Retrieves the length of the stream in bytes. |
getPosition | Retrieves the position of this stream. |
read | Reads the next byte of data from this stream. |
readByte | Reads a byte from this stream. |
readChar | Reads a character from this stream. |
readCore | Implements the core array read method. |
readInt | Reads an integer from this stream. |
readShort | Reads a short value from this stream. |
readStringCharsAnsi | Reads an American National Standards Institute (ANSI) string from this stream. |
readStringNull | Reads a null-terminated Unicode string from this stream. |
readStringNullAnsi | Reads a null-terminated ANSI string from this stream. |
reset | Flushes the stream buffer. |
setLength | Sets the length of this stream. |
setPosition | Sets the position of this stream. |
toByteArray | Converts a SafeArray data structure to a Java array. The location is considered to be index zero. |
write | Writes a single byte of data to this stream. |
writeByte | Writes a byte to this stream. |
writeChar | Writes a character to this stream. |
writeCore | Implements the core array write method. |
writeInt | Writes an integer to this stream. |
writeShort | Writes a short value to this stream. |
writeTo | Writes the contents of this stream to the specified output stream argument. |