code: private int fillFooter(byte []buffer, 
                           int offset, 
                           int entryTail, 
                           boolean isCont)
    {
      BitsUtil.writeInt16(buffer, offset, entryTail);
      offset += 2;
  
      buffer[offset] = (byte) (isCont ? 1 : 0);
      offset++;
      
      return offset;
    }
docs: <pre>
  u8 type = 0
  u8 isCont
  </pre>