Package com.dropbox.core
Class DbxStreamReader.ByteArrayCopier
- Enclosing class:
DbxStreamReader<E extends Throwable>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.dropbox.core.DbxStreamReader
DbxStreamReader.ByteArrayCopier, DbxStreamReader.OutputStreamCopier -
Constructor Summary
ConstructorsConstructorDescriptionByteArrayCopier(byte[] data) ByteArrayCopier(byte[] data, int offset, int length) -
Method Summary
Modifier and TypeMethodDescriptionvoidWrite all the data you plan to write toin.
-
Constructor Details
-
ByteArrayCopier
public ByteArrayCopier(byte[] data, int offset, int length) -
ByteArrayCopier
public ByteArrayCopier(byte[] data)
-
-
Method Details
-
read
Description copied from class:DbxStreamReaderWrite all the data you plan to write toin. Do not callclose()on the stream (the stream will be closed automatically).- Specified by:
readin classDbxStreamReader<RuntimeException>
-