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.
-
Hot_Buffer()
- Constructs a new Hot_Buffer with no contents.
-
getBytes()
- Gets the contents of this buffer.
-
getLength()
- Gets the length of the contained bytes.
-
setBytes(byte[])
- Sets the contents of this buffer.
-
toAsciiString(String[])
- Converts the contents of this buffer to a string, interpreting the contents of the Hot_Buffer as ASCII.
Hot_Buffer
public Hot_Buffer()
- Constructs a new Hot_Buffer with no contents.
toAsciiString
public void toAsciiString(String s[])
- Converts the contents of this buffer to a string, interpreting the contents of the Hot_Buffer as ASCII.
setBytes
public void setBytes(byte b[])
- Sets the contents of this buffer. The data is copied from b into a new array.
getBytes
public byte[] getBytes()
- Gets the contents of this buffer. The data is copied into a new array.
getLength
public int getLength()
- Gets the length of the contained bytes.
All Packages Class Hierarchy This Package Previous Next Index