mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-07-22 01:05:54 +02:00
Utilities: Renamed ReadGuidBytes / WriteGuidBytes to ReadGuid / WriteGuid
This commit is contained in:
parent
f5d727ddf2
commit
153abe3d27
12 changed files with 21 additions and 21 deletions
|
@ -77,15 +77,15 @@ namespace Utilities
|
|||
offset += 8;
|
||||
}
|
||||
|
||||
public static void WriteGuidBytes(byte[] buffer, int offset, Guid value)
|
||||
public static void WriteGuid(byte[] buffer, int offset, Guid value)
|
||||
{
|
||||
byte[] bytes = LittleEndianConverter.GetBytes(value);
|
||||
Array.Copy(bytes, 0, buffer, offset, bytes.Length);
|
||||
}
|
||||
|
||||
public static void WriteGuidBytes(byte[] buffer, ref int offset, Guid value)
|
||||
public static void WriteGuid(byte[] buffer, ref int offset, Guid value)
|
||||
{
|
||||
WriteGuidBytes(buffer, offset, value);
|
||||
WriteGuid(buffer, offset, value);
|
||||
offset += 16;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue