core: extend pack_val doc string
This commit is contained in:
parent
45d90b58fc
commit
6c645d9dd1
|
@ -1555,6 +1555,9 @@ def pack_val(*val):
|
|||
value must be a bytes string or an integer, according to type
|
||||
bitlen must be an integer over 0
|
||||
|
||||
warning: for TYPE_UINT_LE and TYPE_INT_LE, bitlen must be a multiple
|
||||
of 8 (hence the value will be byte-aligned)
|
||||
|
||||
Returns:
|
||||
buf (tuple of (bytes, integer)) : a tuple containing the actual
|
||||
resulting bytes string and the length in bits
|
||||
|
|
|
@ -1526,6 +1526,9 @@ def pack_val(*val):
|
|||
value must be a bytes string or an integer, according to type
|
||||
bitlen must be an integer over 0
|
||||
|
||||
warning: for TYPE_UINT_LE and TYPE_INT_LE, bitlen must be a multiple
|
||||
of 8 (hence the value will be byte-aligned)
|
||||
|
||||
Returns:
|
||||
buf (tuple of (bytes, integer)) : a tuple containing the actual
|
||||
resulting bytes string and the length in bits
|
||||
|
|
Loading…
Reference in New Issue