public final class DotUnstuffingInputStream extends FilterInputStream
| Modifier and Type | Field and Description |
|---|---|
protected int[] |
last
An array to hold the last two bytes read off the stream.
|
in| Constructor and Description |
|---|
DotUnstuffingInputStream(InputStream in) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getBaseStream()
Provide access to the base input stream.
|
int |
read()
Read through the stream, checking for '\r\n.'
|
int |
read(byte[] b,
int off,
int len)
Read through the stream, checking for '\r\n.'
|
available, close, mark, markSupported, read, reset, skipprotected int[] last
public DotUnstuffingInputStream(InputStream in)
public int read()
throws IOException
read in class FilterInputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class FilterInputStreamb - the byte array into which the bytes will be readoff - the offset into the byte array where the bytes will be insertedlen - the maximum number of bytes to be read off the streamIOExceptionpublic InputStream getBaseStream()
Copyright © 2006–2024. All rights reserved.