/** * Used to create copies of objects * @return a copy of the internal TimestampWritable byte[] */ public byte[] getBytes() { checkBytes(); int len = getTotalLength(); byte[] b = new byte[len]; System.arraycopy(currentBytes, offset, b, 0, len); return b; }
public void write(DataOutput out) throws IOException { checkBytes(); out.write(currentBytes, offset, getTotalLength()); }
/** * @return length of serialized TimestampWritable data. As a side effect, populates the internal * byte array if empty. */ int getTotalLength() { checkBytes(); return getTotalLength(currentBytes, offset); }
public void writeToByteStream(RandomAccessOutput byteStream) { checkBytes(); byteStream.write(currentBytes, offset, getTotalLength()); }
/** * @return length of serialized TimestampWritable data. As a side effect, populates the internal * byte array if empty. */ int getTotalLength() { checkBytes(); return getTotalLength(currentBytes, offset); }
/** * @return length of serialized TimestampWritable data. As a side effect, populates the internal * byte array if empty. */ int getTotalLength() { checkBytes(); return getTotalLength(currentBytes, offset); }
/** * Used to create copies of objects * @return a copy of the internal TimestampWritable byte[] */ public byte[] getBytes() { checkBytes(); int len = getTotalLength(); byte[] b = new byte[len]; System.arraycopy(currentBytes, offset, b, 0, len); return b; }
/** * Used to create copies of objects * @return a copy of the internal TimestampWritable byte[] */ public byte[] getBytes() { checkBytes(); int len = getTotalLength(); byte[] b = new byte[len]; System.arraycopy(currentBytes, offset, b, 0, len); return b; }
/** * @return length of serialized TimestampWritable data. As a side effect, populates the internal * byte array if empty. */ int getTotalLength() { checkBytes(); return getTotalLength(currentBytes, offset); }
/** * Used to create copies of objects * @return a copy of the internal TimestampWritable byte[] */ public byte[] getBytes() { checkBytes(); int len = getTotalLength(); byte[] b = new byte[len]; System.arraycopy(currentBytes, offset, b, 0, len); return b; }
public void write(OutputStream out) throws IOException { checkBytes(); out.write(currentBytes, offset, getTotalLength()); }
public void write(DataOutput out) throws IOException { checkBytes(); out.write(currentBytes, offset, getTotalLength()); }
public void write(OutputStream out) throws IOException { checkBytes(); out.write(currentBytes, offset, getTotalLength()); }
/** * Used to create copies of objects * @return a copy of the internal TimestampWritable byte[] */ public byte[] getBytes() { checkBytes(); int len = getTotalLength(); byte[] b = new byte[len]; System.arraycopy(currentBytes, offset, b, 0, len); return b; }
/** * @return length of serialized TimestampWritable data. As a side effect, populates the internal * byte array if empty. */ int getTotalLength() { checkBytes(); return getTotalLength(currentBytes, offset); }
public void write(OutputStream out) throws IOException { checkBytes(); out.write(currentBytes, offset, getTotalLength()); }
public void writeToByteStream(RandomAccessOutput byteStream) { checkBytes(); byteStream.write(currentBytes, offset, getTotalLength()); }
public void writeToByteStream(RandomAccessOutput byteStream) { checkBytes(); byteStream.write(currentBytes, offset, getTotalLength()); }
public void writeToByteStream(RandomAccessOutput byteStream) { checkBytes(); byteStream.write(currentBytes, offset, getTotalLength()); }
public void writeToByteStream(RandomAccessOutput byteStream) { checkBytes(); byteStream.write(currentBytes, offset, getTotalLength()); }