Fast base64 encoding and decoding for ByteStrings