Is there a commonly accepted technique for efficiently converting JavaScript strings to ArrayBuffers and vice-versa? Specifically, I’d like to be able to write the contents of an ArrayBuffer to localStorage and to read it back.

28 Answers
28

Leave a Reply

Your email address will not be published. Required fields are marked *