docs: render references from source metadata
This commit is contained in:
+2
-12
@@ -4,16 +4,6 @@ references:
|
||||
- client/space_lua/stdlib/encoding.ts
|
||||
---
|
||||
|
||||
The `encoding` API implements a few useful functions to handle various types of encoding.
|
||||
The `encoding` namespace converts between strings, byte buffers, Base64, and UTF-8.
|
||||
|
||||
### encoding.base64Encode(data)
|
||||
Encodes data (either a string or byte buffer) as a base64 encoded string.
|
||||
|
||||
### encoding.base64Decode(s)
|
||||
Decodes a base64 encoded string into a byte buffer.
|
||||
|
||||
### encoding.utf8Encode(s)
|
||||
Encodes a (UTF-8) string into a byte buffer.
|
||||
|
||||
### encoding.utf8Decode(data)
|
||||
Decodes a byte buffer into a (UTF-8) string.
|
||||
${spacelua.renderApiDocumentation("encoding")}
|
||||
|
||||
Reference in New Issue
Block a user