/** @param buffer is the destination buffer */ public void writeToBuffer(ByteBuffer buffer) { writeToLog(buffer); }