com.baidubce.internal
Class RestartableMultiByteArrayInputStream
java.lang.Object
java.io.InputStream
com.baidubce.internal.RestartableInputStream
com.baidubce.internal.RestartableMultiByteArrayInputStream
- All Implemented Interfaces:
- Closeable
public class RestartableMultiByteArrayInputStream
- extends RestartableInputStream
Restartable MultiByteArray InputStream extends Restartable InputStream.
Method Summary |
int |
read()
|
int |
read(byte[] b,
int off,
int len)
|
void |
restart()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RestartableMultiByteArrayInputStream
public RestartableMultiByteArrayInputStream(List<byte[]> byteArrayList,
long length)
restart
public void restart()
- Specified by:
restart
in class RestartableInputStream
read
public int read(byte[] b,
int off,
int len)
throws IOException
- Overrides:
read
in class InputStream
- Throws:
IOException
read
public int read()
- Specified by:
read
in class InputStream
Copyright © 2018. All rights reserved.