module documentation
Common functions for the SSH classes.
Function | ffs |
first from second goes through the first list, looking for items in the second, returns the first one |
Function | get |
Get multiple precision integer out of the string. A multiple precision integer is stored as a 4-byte length followed by length bytes of the integer. If count is specified, get count integers out of the string... |
Function | get |
get net string |
Function | install |
Undocumented |
Function | MP |
Undocumented |
Function | NS |
net string |
first from second goes through the first list, looking for items in the second, returns the first one
@overload
def getMP(data:
@overloadbytes
) -> tuple[ int, bytes]
:def getMP(data:
(source)
¶
bytes
, count: int
) -> Sequence[ int | bytes]
:Get multiple precision integer out of the string. A multiple precision integer is stored as a 4-byte length followed by length bytes of the integer. If count is specified, get count integers out of the string. The return value is a tuple of count integers followed by the rest of the data.