zeed
    Preparing search index...

    Function suidBytes

    • Create a sortable unique identifier (SUID) as raw bytes.

      The first 6 bytes encode a millisecond timestamp offset from an internal reference date to allow lexicographic sorting by creation time. The remaining 10 bytes are random.

      Returns Uint8Array

      16-byte Uint8Array where bytes 0-5 are timestamp and 6-15 are random