mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-08-05 07:21:28 +02:00
NetBios: NameServicePackets: Marked GetData method as private
This commit is contained in:
parent
254e78a969
commit
aa2966a432
3 changed files with 3 additions and 3 deletions
|
@ -55,7 +55,7 @@ namespace SMBLibrary.NetBios
|
|||
return stream.ToArray();
|
||||
}
|
||||
|
||||
public byte[] GetData()
|
||||
private byte[] GetData()
|
||||
{
|
||||
byte[] data = new byte[DataLength];
|
||||
BigEndianWriter.WriteUInt16(data, 0, (ushort)NameFlags);
|
||||
|
|
|
@ -60,7 +60,7 @@ namespace SMBLibrary.NetBios
|
|||
return stream.ToArray();
|
||||
}
|
||||
|
||||
public byte[] GetData()
|
||||
private byte[] GetData()
|
||||
{
|
||||
MemoryStream stream = new MemoryStream();
|
||||
stream.WriteByte((byte)Names.Count);
|
||||
|
|
|
@ -56,7 +56,7 @@ namespace SMBLibrary.NetBios
|
|||
return stream.ToArray();
|
||||
}
|
||||
|
||||
public byte[] GetData()
|
||||
private byte[] GetData()
|
||||
{
|
||||
byte[] data = new byte[EntryLength * Addresses.Count];
|
||||
int offset = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue