public final class BoundedInputStream extends FilterInputStream
in
Constructor and Description |
---|
BoundedInputStream(InputStream in) |
BoundedInputStream(InputStream in,
int maxBytesRead) |
Modifier and Type | Method and Description |
---|---|
int |
read() |
int |
read(byte[] buf,
int off,
int len) |
available, close, mark, markSupported, read, reset, skip
public BoundedInputStream(@NotNull InputStream in, int maxBytesRead)
public BoundedInputStream(@NotNull InputStream in)
public int read() throws IOException
read
in class FilterInputStream
IOException
public int read(byte[] buf, int off, int len) throws IOException
read
in class FilterInputStream
IOException
Copyright © 2008–2024 The Netty Project. All rights reserved.