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

GUID in the xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx string format. #104

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

andvseti
Copy link

Description:

This pull request adds a new function binaryToGuidString that converts a binary GUID to a string representation.
The function uses the correct GUID format with hyphens (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
It also checks the length of the GUID buffer and throws an error if it does not match 16 bytes.
Benefits:

This function simplifies working with GUIDs in code.
It provides a unified representation of GUIDs.
It increases code reliability by handling GUID length errors.

Please review this pull request and leave your feedback.

Thank you!

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