mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-07-12 04:18:09 +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
|
@ -52,7 +52,7 @@ namespace Utilities
|
|||
return BigEndianConverter.ToUInt64(buffer, offset - 8);
|
||||
}
|
||||
|
||||
public static Guid ReadGuidBytes(byte[] buffer, ref int offset)
|
||||
public static Guid ReadGuid(byte[] buffer, ref int offset)
|
||||
{
|
||||
offset += 16;
|
||||
return BigEndianConverter.ToGuid(buffer, offset - 16);
|
||||
|
@ -107,7 +107,7 @@ namespace Utilities
|
|||
return BigEndianConverter.ToUInt64(buffer, 0);
|
||||
}
|
||||
|
||||
public static Guid ReadGuidBytes(Stream stream)
|
||||
public static Guid ReadGuid(Stream stream)
|
||||
{
|
||||
byte[] buffer = new byte[16];
|
||||
stream.Read(buffer, 0, 16);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue