BEA Systems, Inc.

BEA WebLogic SIP Server 3.1 API Reference


com.bea.wcp.diameter.util
Class ByteBufferInputStream

java.lang.Object
  extended byjava.io.InputStream
      extended bycom.bea.wcp.diameter.util.ByteBufferInputStream
All Implemented Interfaces:
java.io.Closeable

public class ByteBufferInputStream
extends java.io.InputStream

An input stream that reads from a byte buffer.

Copyright © 2006 BEA Systems, Inc. All Rights Reserved.

Constructor Summary
ByteBufferInputStream(java.nio.ByteBuffer bb)
           
 
Method Summary
 int available()
           
 void mark(int limit)
           
 boolean markSupported()
           
 int read()
           
 int read(byte[] b, int off, int len)
           
 void reset()
           
 long skip(long n)
           
 
Methods inherited from class java.io.InputStream
close, read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteBufferInputStream

public ByteBufferInputStream(java.nio.ByteBuffer bb)
Method Detail

available

public int available()

mark

public void mark(int limit)

markSupported

public boolean markSupported()

read

public int read()

read

public int read(byte[] b,
                int off,
                int len)

reset

public void reset()

skip

public long skip(long n)

Documentation is available at
http://e-docs.bea.com/wlcp/wlss31/
Copyright 2007 BEA Systems Inc.