NDR Conformant StrLenField. This is not a "string" per NDR, but an a conformant byte array (e.g. tower_octet_string). For ease of use, we implicitly convert it in specific cases.
| 2361 | |
| 2362 | |
| 2363 | class NDRConfStrLenField(_NDRConfField, _NDRValueOf, StrLenField): |
| 2364 | """ |
| 2365 | NDR Conformant StrLenField. |
| 2366 | |
| 2367 | This is not a "string" per NDR, but an a conformant byte array |
| 2368 | (e.g. tower_octet_string). For ease of use, we implicitly convert |
| 2369 | it in specific cases. |
| 2370 | """ |
| 2371 | |
| 2372 | CONFORMANT_STRING = True |
| 2373 | LENGTH_FROM = True |
| 2374 | |
| 2375 | |
| 2376 | class NDRConfStrLenFieldUtf16(_NDRConfField, _NDRValueOf, StrLenFieldUtf16, _NDRUtf16): |
no outgoing calls
no test coverage detected
searching dependent graphs…