Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.0

E18767-01


com.bea.wcp.diameter.util
Class ByteBufferInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by com.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.


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

read

public int read()
Specified by:
read in class java.io.InputStream

read

public int read(byte[] b,
                int off,
                int len)
Overrides:
read in class java.io.InputStream

skip

public long skip(long n)
Overrides:
skip in class java.io.InputStream

mark

public void mark(int limit)
Overrides:
mark in class java.io.InputStream

reset

public void reset()
Overrides:
reset in class java.io.InputStream

markSupported

public boolean markSupported()
Overrides:
markSupported in class java.io.InputStream

available

public int available()
Overrides:
available in class java.io.InputStream

Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.0

E18767-01


Copyright © 2005, 2010, Oracle and/or its affiliates. All rights reserved.