/** * Drain all the remaining bytes in this iterator. * * @return the remaining bytes as a single array */ public byte[] drain() { return drainTo(new ByteArrayOutputStream()).toByteArray(); }
/** * Drain all the remaining bytes in this iterator. * * @return the remaining bytes as a single array */ public byte[] drain() { return drainTo(new ByteArrayOutputStream()).toByteArray(); }
/** * Drain all the remaining bytes in this iterator. * * @return the remaining bytes as a single array */ public byte[] drain() { return drainTo(new ByteArrayOutputStream()).toByteArray(); }