code: static final String encode(int aValue) {
          String encoded = "";
          int digit;
  
          int vlq = toVLQSigned(aValue);
  
          do {
              digit = vlq & VLQ_BASE_MASK;
              vlq >>>= VLQ_BASE_SHIFT;
              if (vlq > 0) {
                  // There are still more digits in this value, so we must make sure the
                  // continuation bit is marked.
                  digit |= VLQ_CONTINUATION_BIT;
              }
              encoded += Base64.encode(digit);
          } while (vlq > 0);
  
          return encoded;
      }
docs: Returns the base 64 VLQ encoded value.