The Mistflake struct contains information about a mistflake id. The mistflake id consists of the following parts:
1111111111 1111 11111111111
10 4 11
Fields:
timestamp = The timestamp field is a UNIX timestamp, and consists of 10 bits
workerId = The workerId is the ID of the generator that generated the mistflake. This can be user defined or randomly generated. Consists of 4 bits
id = The id field is the unique ID. For every ID that is generated in the generator, the number is incremented. Consists of 11 bits
The Mistflake struct contains information about a mistflake id. The mistflake id consists of the following parts: 1111111111 1111 11111111111 10 4 11 Fields: timestamp = The timestamp field is a UNIX timestamp, and consists of 10 bits workerId = The workerId is the ID of the generator that generated the mistflake. This can be user defined or randomly generated. Consists of 4 bits id = The id field is the unique ID. For every ID that is generated in the generator, the number is incremented. Consists of 11 bits