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:
- java.io.Closeable
-
public class ByteBufferInputStream
- extends java.io.InputStream
An input stream that reads from a byte buffer.
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 |
ByteBufferInputStream
public ByteBufferInputStream(java.nio.ByteBuffer bb)
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
Copyright © 2005, 2010, Oracle and/or its affiliates. All rights reserved.