Skip navigation links
com.bea.wcp.diameter.util
Class ByteBufferInputStream
java.lang.Object
java.io.InputStream
com.bea.wcp.diameter.util.ByteBufferInputStream
- All Implemented Interfaces:
- Closeable
-
public class ByteBufferInputStream
- extends InputStream
An input stream that reads from a byte buffer.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ByteBufferInputStream
public ByteBufferInputStream(ByteBuffer bb)
read
public int read()
-
- Specified by:
read
in class InputStream
read
public int read(byte[] b,
int off,
int len)
-
- Overrides:
read
in class InputStream
skip
public long skip(long n)
-
- Overrides:
skip
in class InputStream
mark
public void mark(int limit)
-
- Overrides:
mark
in class InputStream
reset
public void reset()
-
- Overrides:
reset
in class InputStream
markSupported
public boolean markSupported()
-
- Overrides:
markSupported
in class InputStream
available
public int available()
-
- Overrides:
available
in class InputStream
Skip navigation links
Copyright © 2012 Oracle Corporation. All Rights Reserved.