mirror of
				https://github.com/esiur/esiur-dotnet.git
				synced 2025-10-31 07:51:36 +00:00 
			
		
		
		
	Guid to UUID
This commit is contained in:
		| @@ -808,11 +808,16 @@ public static class DC // Data Converter | ||||
|         return ar.ToArray(); | ||||
|     } | ||||
|  | ||||
|     public static Guid GetGuid(this byte[] data, uint offset) | ||||
|     public static UUID GetUUID(this byte[] data, uint offset) | ||||
|     { | ||||
|         return new Guid(Clip(data, offset, 16)); | ||||
|         return new UUID(data, offset); | ||||
|     } | ||||
|  | ||||
|     //public static Guid GetGuid(this byte[] data, uint offset) | ||||
|     //{ | ||||
|     //    return new Guid(Clip(data, offset, 16)); | ||||
|     //} | ||||
|  | ||||
|     public static DateTime GetDateTime(this byte[] data, uint offset, Endian endian) | ||||
|     { | ||||
|         var ticks = GetInt64(data, offset, endian); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user