Email or username:

Password:

Forgot your password?
Top-level
Devil Lu Linvega

@LaFoulqueDuVexin I was wondering about the padding, I'm writing a decoder, and I don't see the point of it, is it really needed? You can infer the padding based on the queue length.

2 comments
Lac Meod

@neauoire
If I take my hat of RFC pedantic : THIS IS A SIN, padding is mandatory.

Well RFC pedantic might point out that all = in excess MAY be ignored (which decoders often accept (but not always)).

I often add "===" after a b64encoded string when I am in the mood for seeing the world burn. And it's fun.

I am not convinced by the rationale of the mandatory padding in the RFC in the first place to be honest.

Devil Lu Linvega

@LaFoulqueDuVexin I think the padding may come in handy when there is no way to detect the end of stream.

Go Up