the GL part of the doc

This commit is contained in:
minjaesong
2022-09-12 00:07:46 +09:00
parent 5e0ed3c946
commit c744be7906
2 changed files with 38 additions and 9 deletions

View File

@@ -105,15 +105,15 @@ Functions:
\namespaceis{Gzip}{gzip}
\begin{outline}
\1\formalsynopsis{comp}{String}[UintArray]{Compresses the given string.}
\1\formalsynopsis{comp}{UintArray}[UintArray]{Compresses the given bytes.}
\1\formalsynopsis{comp}{String}[Uint8Array]{Compresses the given string.}
\1\formalsynopsis{comp}{Uint8Array}[Uint8Array]{Compresses the given bytes.}
\1\formalsynopsis{compTo}{str: String, outputptr: Int}[Int]{Compresses the given string onto the memory, then returns the size of the compressed bytes.}
\1\formalsynopsis{compTo}{bytes: UintArray, outputptr: Int}[Int]{Compresses the given bytes onto the memory, then returns the size of the compressed bytes.}
\1\formalsynopsis{compTo}{bytes: Uint8Array, outputptr: Int}[Int]{Compresses the given bytes onto the memory, then returns the size of the compressed bytes.}
\1\formalsynopsis{compFromTo}{inputptr: Int, length: Int, outputptr: Int}[Int]{Compresses the bytes onto the memory, then returns the size of the compressed bytes.}
\1\formalsynopsis{decomp}{String}[UintArray]{Decompresses the given string (compressed bytes represented as series of characters)}
\1\formalsynopsis{decomp}{UintArray}[UintArray]{Decompresses the given bytes.}
\1\formalsynopsis{decomp}{String}[Uint8Array]{Decompresses the given string (compressed bytes represented as series of characters)}
\1\formalsynopsis{decomp}{Uint8Array}[Uint8Array]{Decompresses the given bytes.}
\1\formalsynopsis{decompTo}{str: String, outputptr: Int}[Int]{Decompresses the given string onto the memory, then returns the size of the decompressed bytes.}
\1\formalsynopsis{decompTo}{bytes: UintArray, outputptr: Int}[Int]{Decompresses the given bytes onto the memory, then returns the size of the decompressed bytes.}
\1\formalsynopsis{decompTo}{bytes: Uint8Array, outputptr: Int}[Int]{Decompresses the given bytes onto the memory, then returns the size of the decompressed bytes.}
\1\formalsynopsis{decompFromTo}{inputptr: Int, length: Int, outputptr: Int}[Int]{Decompresses the bytes onto the memory, then returns the size of the decompressed bytes.}
\end{outline}
@@ -126,9 +126,9 @@ Functions:
\namespaceis{Base64}{base64}
\begin{outline}
\1\formalsynopsis{atob}{String}[UintArray]{Decodes the Base64 string to bytes.}
\1\formalsynopsis{atob}{String}[Uint8Array]{Decodes the Base64 string to bytes.}
\1\formalsynopsis{atostr}{String}[String]{Decodes the Base64 string to string.}
\1\formalsynopsis{btoa}{UintArray}[String]{Encodes bytes to Base64 string.}
\1\formalsynopsis{btoa}{Uint8Array}[String]{Encodes bytes to Base64 string.}
\end{outline}