/** * Returns the underlying bytes. * * @throws IOException */ public byte[] getData() throws IOException { lazyDecompress(); return bytes; }
/** * Returns a copy of the underlying bytes referenced by this instance. * * @return a new copied byte array * @throws IOException */ public byte[] getBytesCopy() throws IOException { lazyDecompress(); byte[] bb = new byte[length]; System.arraycopy(bytes, start, bb, 0, length); return bb; }
public void writeDataTo(DataOutput out) throws IOException { lazyDecompress(); out.write(bytes, start, length); }
/** {@inheritDoc} */ public void write(DataOutput out) throws IOException { lazyDecompress(); out.writeInt(length); out.write(bytes, start, length); }
/** * Returns the underlying bytes. * * @throws IOException */ public byte[] getData() throws IOException { lazyDecompress(); return bytes; }
/** * Returns the underlying bytes. * * @throws IOException */ public byte[] getData() throws IOException { lazyDecompress(); return bytes; }
/** * Returns the underlying bytes. * * @throws IOException */ public byte[] getData() throws IOException { lazyDecompress(); return bytes; }
/** * Returns the underlying bytes. * * @throws IOException */ public byte[] getData() throws IOException { lazyDecompress(); return bytes; }
/** * Returns the underlying bytes. * * @throws IOException */ public byte[] getData() throws IOException { lazyDecompress(); return bytes; }
/** * Returns a copy of the underlying bytes referenced by this instance. * * @return a new copied byte array * @throws IOException */ public byte[] getBytesCopy() throws IOException { lazyDecompress(); byte[] bb = new byte[length]; System.arraycopy(bytes, start, bb, 0, length); return bb; }
/** * Returns a copy of the underlying bytes referenced by this instance. * * @return a new copied byte array * @throws IOException */ public byte[] getBytesCopy() throws IOException { lazyDecompress(); byte[] bb = new byte[length]; System.arraycopy(bytes, start, bb, 0, length); return bb; }
/** * Returns a copy of the underlying bytes referenced by this instance. * * @return a new copied byte array * @throws IOException */ public byte[] getBytesCopy() throws IOException { lazyDecompress(); byte[] bb = new byte[length]; System.arraycopy(bytes, start, bb, 0, length); return bb; }
/** * Returns a copy of the underlying bytes referenced by this instance. * * @return a new copied byte array * @throws IOException */ public byte[] getBytesCopy() throws IOException { lazyDecompress(); byte[] bb = new byte[length]; System.arraycopy(bytes, start, bb, 0, length); return bb; }
/** * Returns a copy of the underlying bytes referenced by this instance. * * @return a new copied byte array * @throws IOException */ public byte[] getBytesCopy() throws IOException { lazyDecompress(); byte[] bb = new byte[length]; System.arraycopy(bytes, start, bb, 0, length); return bb; }
public void writeDataTo(DataOutput out) throws IOException { lazyDecompress(); out.write(bytes, start, length); }
/** {@inheritDoc} */ public void write(DataOutput out) throws IOException { lazyDecompress(); out.writeInt(length); out.write(bytes, start, length); }
/** {@inheritDoc} */ public void write(DataOutput out) throws IOException { lazyDecompress(); out.writeInt(length); out.write(bytes, start, length); }
/** {@inheritDoc} */ public void write(DataOutput out) throws IOException { lazyDecompress(); out.writeInt(length); out.write(bytes, start, length); }
/** {@inheritDoc} */ public void write(DataOutput out) throws IOException { lazyDecompress(); out.writeInt(length); out.write(bytes, start, length); }
/** {@inheritDoc} */ public void write(DataOutput out) throws IOException { lazyDecompress(); out.writeInt(length); out.write(bytes, start, length); }