Embed Notice
HTML Code
Corresponding Notice
- Embed this notice@i @mpg @vii
> - let s=''; for(let i=0;i<bytes.length;i++) s+=bytes[i].toString(16).padStart(2,'0'); return s;
> + return Array.from(bytes, b => b.toString(16).padStart(2, '0')).join('');
CUNNINGHAM'S LAW IN ACTION: The best way to get the right answer on the Internet is not to ask a question; it's to post the wrong answer.
Anyway, that function was one of the copypastas.
> also duplicate lines in mime
Yeah, if you couldn't tell, it's generated and then pasted.
I really do have to get in the car.