What is the benefits of ToBase64Trimmed #8
-
I see it in the source code and I don't know if it should to use it or not |
Beta Was this translation helpful? Give feedback.
Answered by
alirezanet
Jul 3, 2023
Replies: 1 comment 1 reply
-
by default you should not use this. It is the same as base64 string ... but It removes the empty bits before generating the base 64 string. for example imagine this is your enum bits: Generally, I don't recommend using the base64 formats, since |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
YousefAK009
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
by default you should not use this.
It is the same as base64 string ... but It removes the empty bits before generating the base 64 string.
for example imagine this is your enum bits:
00000000100000000000000000
, this method converts the array to a shorter version if it is possible but you will lose the length.000000001
. it is suitable for test purposes.Generally, I don't recommend using the base64 formats, since
UniqueId
is more consistent.