GuidsFromBytesBE Method

Converts a big-endian byte string (directly converted from string representation) to Guid. No format checks are performed, except as documented by thrown exceptions.

Definition

Namespace: Quine.Schemas.Core
Assembly: Quine.Schemas.Core (in Quine.Schemas.Core.dll) Version: 1.0.0+0ea0706914ee4edf2b0ed66bec3ab4d062a43b68
C#
public static Guid FromBytesBE(
	byte[] bytes,
	bool copy = true
)

Parameters

bytes  Byte
Byte array to convert to guid.
copy  Boolean  (Optional)
If true (the default), the array is copied; otherwise it is mutated in-place.

Return Value

Guid

Exceptions

ArgumentNullExceptionIf passed null.
ArgumentExceptionIf the array is not exactly 16 bytes long.

See Also