class Nuidimport { Nuid } from "https://deno.land/x/natsws@v1.28.0/src/nats-base-client.ts"; Create and initialize a nuid. ConstructorsnewNuid()Propertiesbuf: Uint8Arrayinc: numberinited: booleanseq: numberMethodsprivatefillSeq()Fills the sequence part of the nuid as base36 from this.seq. privateinit()Initializes a nuid with a crypto random prefix, and pseudo-random sequence and increment. privateinitSeqAndInc()Initializes the pseudo randmon sequence number and the increment range. privatesetPre()Sets the prefix from crypto random bytes. Converts to base36. next(): stringReturns the next nuid. reset()