Defining new data type to represent ByteString #206
irakledibm
started this conversation in
Polls
Replies: 2 comments 9 replies
-
Raw bytes as dedicated type makes a lot of sense to me. How to represent it properly is almost orthogonal, i.e., forcing Base64 just because the default medium is ASCII doesn't do justice to the type system. |
Beta Was this translation helpful? Give feedback.
2 replies
-
Any suggestions around encoding, besides base64? |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It is common to transport some data, such as payloads etc in form of byte array, without converting it. To cover those use cases we need to add new data type "bytestring_t" to represent immutable sequence of bytes. We can add it as subset of String with base64 encoding or as a base type.
12 votes ·
Beta Was this translation helpful? Give feedback.
All reactions