org.ws4d.java.types
Class ByteArrayBuffer

java.lang.Object
  extended by org.ws4d.java.types.ByteArrayBuffer

public class ByteArrayBuffer
extends java.lang.Object


Constructor Summary
ByteArrayBuffer(byte[] buffer, int contentLength)
           
 
Method Summary
 byte[] getBuffer()
           
 int getContentLength()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteArrayBuffer

public ByteArrayBuffer(byte[] buffer,
                       int contentLength)
Parameters:
buffer -
contentLength -
Method Detail

getBuffer

public byte[] getBuffer()
Returns:
the buffer

getContentLength

public int getContentLength()
Returns:
the contentLength