public class ByteRangeCapturingInputStream extends SdkFilterInputStream
in
Constructor and Description |
---|
ByteRangeCapturingInputStream(InputStream in,
long startingPosition,
long endingPosition) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getBlock() |
void |
mark(int readlimit) |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
reset() |
abort, abortIfNeeded, available, close, getDelegateStream, isAborted, isMetricActivated, markSupported, release, skip
read
public ByteRangeCapturingInputStream(InputStream in, long startingPosition, long endingPosition)
public byte[] getBlock()
public int read() throws IOException
read
in class SdkFilterInputStream
IOException
public void mark(int readlimit)
mark
in class SdkFilterInputStream
public void reset() throws IOException
reset
in class SdkFilterInputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class SdkFilterInputStream
IOException
Copyright © 2023. All rights reserved.