borland Packages Class Hierarchy jbcl.util Package Index
java.lang.Object +----java.io.InputStream +----java.io.ByteArrayInputStream +----borland.jbcl.util.InputStreamToByteArray
Variables Constructors Properties MethodsThis class is a wrapper around java.io.ByteArrayInputStream.
public InputStreamToByteArray(byte[] buf)Constructs an InputStreamToByteArray object with the following parameters:
Parameters:
public InputStreamToByteArray(byte[] buf, int offset, int length)Constructs an InputStreamToByteArray object with the following parameters:
Parameters:
public byte[] getBytes()
public static byte[] getBytes(java.io.InputStream stream)A static method that returns an array of bytes representing the InputStream with the specified stream.