code: public void write(DataOutput out) throws IOException {
          header.write(out);
          out.write(CRLF_BYTES);
          out.write(content);
          out.write(CRLF_BYTES);
          out.write(CRLF_BYTES);
      }
docs: Writes this record to a {@link DataOutput} stream. The output may, in some edge
  cases, be not byte-for-byte identical to what was parsed from a {@link DataInput}.
  However it has the same meaning and should not lose any information.
  @param out The output stream to which this record should be appended.
  @throws IOException