code: function getSnowflakeIdFromUint8Array(Uint8Arr) {
    // packaged lib uses base64 not base64URL, so swap the different chars
    return base64js.fromByteArray(Uint8Arr).substring(0, 11).replace(/\+/g, '-').replace(/\//g, '_');
  }
docs: Convert the given Uint8 array into a SignalFx Snowflake ID.