Class DbxStreamReader.ByteArrayCopier

  • Enclosing class:
    DbxStreamReader<E extends java.lang.Throwable>

    public static final class DbxStreamReader.ByteArrayCopier
    extends DbxStreamReader<java.lang.RuntimeException>
    • Constructor Detail

      • ByteArrayCopier

        public ByteArrayCopier​(byte[] data,
                               int offset,
                               int length)
      • ByteArrayCopier

        public ByteArrayCopier​(byte[] data)
    • Method Detail

      • read

        public void read​(NoThrowInputStream in)
        Description copied from class: DbxStreamReader
        Write all the data you plan to write to in. Do not call close() on the stream (the stream will be closed automatically).
        Specified by:
        read in class DbxStreamReader<java.lang.RuntimeException>