All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ensemble.hot.Hot_Buffer

java.lang.Object
   |
   +----ensemble.hot.Hot_Buffer

public class Hot_Buffer
extends Object
This class is a simple represenation of a byte array.


Constructor Index

 o Hot_Buffer()
Constructs a new Hot_Buffer with no contents.

Method Index

 o getBytes()
Gets the contents of this buffer.
 o getLength()
Gets the length of the contained bytes.
 o setBytes(byte[])
Sets the contents of this buffer.
 o toAsciiString(String[])
Converts the contents of this buffer to a string, interpreting the contents of the Hot_Buffer as ASCII.

Constructors

 o Hot_Buffer
 public Hot_Buffer()
Constructs a new Hot_Buffer with no contents.

Methods

 o toAsciiString
 public void toAsciiString(String s[])
Converts the contents of this buffer to a string, interpreting the contents of the Hot_Buffer as ASCII.

 o setBytes
 public void setBytes(byte b[])
Sets the contents of this buffer. The data is copied from b into a new array.

 o getBytes
 public byte[] getBytes()
Gets the contents of this buffer. The data is copied into a new array.

 o getLength
 public int getLength()
Gets the length of the contained bytes.


All Packages  Class Hierarchy  This Package  Previous  Next  Index