NtStr
NtStr
¶
[De]serialize a null terminated string with a fixed length N using the syntax NtStr[N]. Use the syntax
NtStr[N]._0[Encoding.UTF8, Encoding.ASCII] to specify a main and optionally a second fallback encoding
(UTF8 and ASCII are defaults)
__class_getitem__
classmethod
¶
c_str
¶
Bases: NtStr
A C style null terminated string. Use the syntax
c_str._0[Encoding.UTF8, Encoding.ASCII] to specify a main and optionally a second fallback encoding
(UTF8 and ASCII are defaults)
nt_str8
¶
Bases: NtStr
[De]serialize a null terminated string whose length is also indicated by a leading u8. Use the syntax
nt_str8._0[Encoding.UTF8, Encoding.ASCII] to specify a main and optionally a second fallback encoding
(UTF8 and ASCII are defaults)
nt_str16
¶
Bases: NtStr
[De]serialize a null terminated string whose length is also indicated by a leading u16. Use the syntax
nt_str16._0[Encoding.UTF8, Encoding.ASCII] to specify a main and optionally a second fallback encoding
(UTF8 and ASCII are defaults)
nt_str32
¶
Bases: NtStr
[De]serialize a null terminated string whose length is also indicated by a leading u32. Use the syntax
nt_str32._0[Encoding.UTF8, Encoding.ASCII] to specify a main and optionally a second fallback encoding
(UTF8 and ASCII are defaults)