A static class containing methods to convert to and from Guids and byte arrays in various byte orders.
More...
A static class containing methods to convert to and from Guids and byte arrays in various byte orders.
static Guid SequoiaDB.Bson.GuidConverter.FromBytes |
( |
byte[] |
bytes, |
|
|
GuidRepresentation |
representation |
|
) |
| |
|
inlinestatic |
Converts a byte array to a Guid.
- Parameters
-
bytes | The byte array. |
representation | The representation of the Guid in the byte array. |
- Returns
- A Guid.
static byte [] SequoiaDB.Bson.GuidConverter.ToBytes |
( |
Guid |
guid, |
|
|
GuidRepresentation |
representation |
|
) |
| |
|
inlinestatic |
Converts a Guid to a byte array.
- Parameters
-
guid | The Guid. |
representation | The representation of the Guid in the byte array. |
- Returns
- A byte array.
The documentation for this class was generated from the following file: