buffer: convert buffer.transcode
to use internal/errors
#16352
+9
−3
Closed