docs: protected void eol(byte[] in, int sz) throws IOException {
  
          int next = ConsoleNote.findPreamble(in,0,sz);
  
          // perform byte[]->char[] while figuring out the char positions of the BLOBs
          int written = 0;
          while (next>=0) {
              if (next>written) {
                  out.write(in,written,next-written);
                  written = next;
              } else {
                  assert next==written;
              }
  
              int rest = sz - next;
              ByteArrayInputStream b = new ByteArrayInputStream(in, next, rest);
  
              ConsoleNote.skip(new DataInputStream(b));
  
              int bytesUsed = rest - b.available(); // bytes consumed by annotations
              written += bytesUsed;
  
  
              next = ConsoleNote.findPreamble(in,written,sz-written);
          }
          // finish the remaining bytes->chars conversion
          out.write(in,written,sz-written);
      }