Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extensions to guid #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

extensions to guid #1

wants to merge 3 commits into from

Conversation

poelzi
Copy link

@poelzi poelzi commented Jul 31, 2011

hi,

i'm added support to node_cassandra to use this uid class for time and lexical uuid column names. For this I had to add some extensions to guid. It now supports different conversations into other representations like hex string, array and binary string.

also added some unittests, at least for the new stuff.

allows Guid objects to be created with predefined value
allows pure hexadecimal and Buffer values which gets converted
to the normal form.

exports for value in binary string through Buffer and pure hex string
must be of size 16 to be accepted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant