code: public static VINT fromBinary(long binary) {
          BitSet bs = BitSet.valueOf(new long[] { binary });
          long mask = MASK_BYTE_1;
          byte length = 1;
          if (bs.length() > 3 * BIT_IN_BYTE) {
              mask = MASK_BYTE_4;
              length = 4;
          } else if (bs.length() > 2 * BIT_IN_BYTE) {
              mask = MASK_BYTE_3;
              length = 3;
          } else if (bs.length() > 1 * BIT_IN_BYTE) {
              mask = MASK_BYTE_2;
              length = 2;
          }
          long value = binary & mask;
          return new VINT(binary, length, value);
      }
docs: method to construct {@link VINT} based on its binary representation
  
  @param binary
  - binary value of {@link VINT}
  @return {@link VINT} corresponding to this binary