docs: function(length) {
    if(typeof length !== "number") return null;
    if(length < 0) return null;
  
    let len = [];
    let digit = 0;
  
    do {
      digit = length % 128 | 0;
      length = length / 128 | 0;
      if (length > 0) {
          digit = digit | 0x80;
      }
      len.push(digit);
    } while (length > 0);
  
    return len;
  }