NetBios: NameServicePackets: Marked GetData method as private

This commit is contained in:
Tal Aloni 2020-01-25 21:02:29 +02:00
parent 254e78a969
commit aa2966a432
3 changed files with 3 additions and 3 deletions

View file

@ -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);

View file

@ -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);

View file

@ -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;