def _a_encode_bytes(value, mapping):
 assert isinstance(value, bytes), ('VALUE has invalid type: %s' % type(value))
 return (str(len(value)).encode('UTF-8'), 'b', value)

def _a_encode_bytes ( value , mapping ) : assert isinstance ( value , bytes ) , ( 'VALUE has invalid type: %s' % type ( value ) ) return ( str ( len ( value ) ) . encode ( 'UTF-8' ) , 'b' , value )
foo-bar --> .