Skip to content

What is the benefits of ToBase64Trimmed #8

Closed Answered by alirezanet
YousefAK009 asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@YousefAK009
Comment options

Answer selected by YousefAK009
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants