code: public static void writeTxnBytes(OutputArchive oa, byte[] bytes)
              throws IOException {
          oa.writeBuffer(bytes, "txnEntry");
          oa.writeByte((byte) 0x42, "EOR"); // 'B'
      }
docs: Write the serialized transaction record to the output archive.
  
  @param oa output archive
  @param bytes serialized trasnaction record
  @throws IOException