Be concise.
Be useful.
All contributions dictatorially edited by webmasters to match personal tastes.
Please do not paste any copyright violating material.
Please try to avoid dependencies to third-party libraries and frameworks.
data := []byte(s)
const data = new TextEncoder().encode(s);
var
data: pbyte absolute s;
data = s.encode('utf8')
data = s.bytes
let data = s.into_bytes();