name.encode('') returns 0000 instead of 00
Arachnid opened this issue · comments
While name.encode('.') returns a single byte '\x00', name.encode('') returns '\x00\x00'.
An abstract-encoding compliant module for encoding / decoding DNS packets
Arachnid opened this issue · comments
While name.encode('.') returns a single byte '\x00', name.encode('') returns '\x00\x00'.