Searched refs:b2s (Results 1 - 1 of 1) sorted by relevance

/freebsd-13-stable/contrib/lib9p/pytest/
H A Dsequencer.py41 EncDec also provide b2s() and s2b() static methods, which
69 b2s = b2u
78 def b2s(byte_sequence): function in function:EncDec.u2b
110 Note: using b2s here is purely a doctest/tetsmod python2/python3
111 compat hack. The output of e.pack is <type 'bytes'>; b2s
114 string anyway.) In normal use, you should not call b2s here.
117 >>> e.b2s(e.pack({}, {}, 0))
119 >>> e.b2s(e.pack({}, {}, 256))
159 >>> e.b2s(e.pack({}, {}, 'p3=unicode,p2=bytes'))
162 >>> e.b2s(
[all...]

Completed in 57 milliseconds