Comment

Comment by ttaubert

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)".
parent ttaubert 12 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton