예제 #1
0
 public SessionRequestPacket(byte[] buffer, int offset) : base(buffer, offset)
 {
     CalledName  = NetBiosUtils.DecodeName(this.Trailer, ref offset);
     CallingName = NetBiosUtils.DecodeName(this.Trailer, ref offset);
 }
예제 #2
0
 public QuestionSection(byte[] buffer, ref int offset)
 {
     Name  = NetBiosUtils.DecodeName(buffer, ref offset);
     Type  = (NameRecordType)BigEndianReader.ReadUInt16(buffer, ref offset);
     Class = BigEndianReader.ReadUInt16(buffer, ref offset);
 }