current position:Home>How to use the second type of dictionary method?

How to use the second type of dictionary method?

2022-08-06 17:39:47Alibaba Cloud Q&A

How to use the second type of dictionary method?




Accepted answer 1:

2.png As shown in the figure, when outputting the data stream, look up the input in the encoding dictionaryThe encoding corresponding to the string of the data stream, for example, "ac" corresponds to '1', and '1' is output, and 'b' has no corresponding encoding, so 'b' is still output.


copyright notice
author[Alibaba Cloud Q&A],Please bring the original link to reprint, thank you.
https://en.primo.wiki/2022/218/202208061721323311.html

Random recommended