This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.
Keith keith at rhizomatica.org
On 09/09/2016 15:49, Holger Freyther wrote:
> Right libdbi has encoding for "blob". tnt has written a _dbi_binary_quote in python in pysim. It might help you to write the unquote.
>
> holger
Right, not perfect, but it'll do:
def _dbi_binary_unquote(s):
e = ord(s[0])
out = []
for c in s:
x = (256 + ord(c) + e) % 256
if x < 256:
out.append(chr(x))
return ''.join(out)
Any clues on classmark analysis?
Thanks.