def decode_bin(v):
 if (not is_string(v)):
  raise Exception('Value must be binary, not RLP array')
 return v

def decode_bin ( v ) : if ( not is_string ( v ) ) : raise Exception ( 'Value must be binary, not RLP array' ) return v
decodes a bytearray from serialization .