batch decode prefix/suffix