static S readChunkThroughUTF8Processor(UTF8Processor p, InputStream in, byte[] buf) ctex { new StringBuilder input; int n = in.read(buf); for i to n: input.append(p.processByte(buf[i])); ret input.toString(); }