public SessionRequestPacket(byte[] buffer, int offset) : base(buffer, offset) { CalledName = NetBiosUtils.DecodeName(this.Trailer, ref offset); CallingName = NetBiosUtils.DecodeName(this.Trailer, ref offset); }
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); }