docs: function getLengthOfLength(lenValue, indefiniteLength) {
    var lenOfLen;
    
    if (indefiniteLength) {
      lenOfLen = 3;
    } else if (lenValue > 0x00FFFFFF) {
      lenOfLen = 5;
    } else if (lenValue > 0x0000FFFF) {
      lenOfLen = 4;
    } else if (lenValue > 0x000000FF) {
      lenOfLen = 3;
    } else if (lenValue > 0x0000007F) {
      lenOfLen = 2; 
    } else {
      lenOfLen = 1;
    }
    
    return lenOfLen
  }