Skip to content

C# generator have error on _nodeId #10

Description

@sn4k3

Error CS0103 The name '_nodeId' does not exist in the current context

line: var d = 0x8000 | ((_last & 0xf) << 10) | (_seq << 2) | (_nodeId >> 6);

Should _nodeId be _seq or _nid?


Not related, but: Consider in using direct DateTime.UnixEpoch and Random.Shared.
For a cypto safer random the RandomNumberGenerator can be used

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions