fluffos/docs/efun/strings/string_encode.md

18 lines
289 B
Markdown
Raw Permalink Normal View History

2020-01-13 23:29:23 -08:00
---
title: strings / string_encode
---
2023-11-25 09:50:24 -08:00
# string_encode
2020-01-13 23:29:23 -08:00
### SYNOPSIS
buffer string_encode(string str, string encoding);
### DESCRIPTION
Encode the given string str(in UTF-8) using given encoding, return an
buffer of bytes.
2020-01-13 23:29:23 -08:00
### SEE ALSO
string_decode, buffer_transcode