OMR + TEXMAPped unofficial file = ???


RE: OMR + TEXMAPped unofficial file = ???
#37
(2018-03-09, 20:19)Travis Cobbs Wrote:
(2018-03-09, 19:07)Roland Melkert Wrote: We also might need to force a multiple of 3 characters per line as base64 is grouped by 24 bits (hence the 1 or 2 trailing '=' chars)

Actually, that's 4, since BASE64 encodes 6 bits per ASCII character, to yield 3 binary bytes per 4 ASCII characters. LDView will give an error if the BASE64 input length is not an even multiple of 4.

I also don't think that we should care about how many BASE64 characters are on each line. What matters is that the whole BASE64 block is an even multiple of 4 characters. I don't think decoding the data line-by-line is a good idea. (My implementation concatenates all the BASE64 data into one block and then decodes it.)
Reply
« Next Oldest | Next Newest »



Messages In This Thread
RE: OMR + TEXMAPped unofficial file = ??? - by Travis Cobbs - 2018-03-09, 20:33

Forum Jump:


Users browsing this thread: 22 Guest(s)