org.jboss.cache.io
Class ByteBuffer

java.lang.Object
  extended by org.jgroups.util.Buffer
      extended by org.jboss.cache.io.ByteBuffer

public class ByteBuffer
extends org.jgroups.util.Buffer

A subclass of a JGroups Buffer


Constructor Summary
ByteBuffer(byte[] bytes, int offset, int length)
           
 
Method Summary
 InputStream getStream()
           
 
Methods inherited from class org.jgroups.util.Buffer
copy, getBuf, getLength, getOffset, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ByteBuffer

public ByteBuffer(byte[] bytes,
                  int offset,
                  int length)
Method Detail

getStream

public InputStream getStream()
Returns:
an input stream for the bytes in the buffer


Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.