def _parse_build(encoded_data, pointer=0, spec=None, spec_params=None):
 (info, new_pointer) = _parse(encoded_data, len(encoded_data), pointer)
 return (_build(spec=spec, spec_params=spec_params, *info), new_pointer)

def _parse_build ( encoded_data , pointer = 0 , spec = None , spec_params = None ) : ( info , new_pointer ) = _parse ( encoded_data , len ( encoded_data ) , pointer ) return ( _build ( spec = spec , spec_params = spec_params , * info ) , new_pointer )
parses a byte string generically .