Returns the length of a field, works with Unicode strings.
(pkt, name)
| 307 | |
| 308 | |
| 309 | def _len(pkt, name): |
| 310 | """ |
| 311 | Returns the length of a field, works with Unicode strings. |
| 312 | """ |
| 313 | fld, v = pkt.getfield_and_val(name) |
| 314 | return len(fld.addfield(pkt, v, b"")) |
| 315 | |
| 316 | |
| 317 | class _SMBNegotiate_Response(Packet): |
no test coverage detected
searching dependent graphs…