Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
ttaubert
· 12y ago · 0 comments
For non-binary data in general you would have to create your own serialization mechanism. For everything that can be represented textually you can however use the TextEncoder/Decoder API: "var buffer = new TextEncoder("utf-8").encode(text)".
Comments
[–]
diafygi
12y ago
Thanks for the response. What I wouldn't give for a built-in equivalent of python's pickle.