code: @Override
    public void writeChunk(long length, boolean isFinal)
    {
      long chunk;
      
      if (isFinal) {
        chunk = length << 1;
      }
      else {
        chunk = (length << 1) + 1;
      }
      
      writeUnsigned(chunk);
    }
docs: chunked header. LSB