fix B64k,兼容 io.ReadWriteCloser