def get_bytes(self, s):
        return struct.unpack('%sB' % len(s), s)
Turns a string into a list of byte values
dataset/ETHPy150Open BrightcoveOS/Diamond/src/collectors/iodrivesnmp/iodrivesnmp.py/IODriveSNMPCollector.get_bytes