def _java_bytestring(java_byte_list):
    return struct.pack("%dB" % len(java_byte_list), *[ctypes.c_ubyte(sb).value for sb in java_byte_list])
Convert the value returned by javaobj for a byte[] to a byte string.
dataset/ETHPy150Open doublereedkurt/pyjks/jks/jks.py/_java_bytestring