public class PeekAheadInputStream extends RewindableInputStream
Constructor and Description |
---|
PeekAheadInputStream(java.io.InputStream in) |
PeekAheadInputStream(java.io.InputStream in,
int initialSize) |
Modifier and Type | Method and Description |
---|---|
int |
peek()
Peek the next byte in the stream
|
int |
peek(byte[] buf)
Peek the next bytes in the stream.
|
int |
peek(byte[] buf,
int off,
int len)
Peek the next bytes in the stream.
|
position, read, read, rewind, rewind, rewind, skip
clear, shrink, unread, unread
public PeekAheadInputStream(java.io.InputStream in)
public PeekAheadInputStream(java.io.InputStream in, int initialSize)
public int peek() throws java.io.IOException
java.io.IOException
public int peek(byte[] buf) throws java.io.IOException
java.io.IOException
public int peek(byte[] buf, int off, int len) throws java.io.IOException
java.io.IOException
Copyright © 2010 - 2020 Adobe. All Rights Reserved