(buf: Uint8Array)
| 150 | * Decode a string from its Uint8Array representation. |
| 151 | */ |
| 152 | export function decodeText(buf: Uint8Array): string { |
| 153 | return Deno.core.decode(buf); |
| 154 | } |
| 155 | |
| 156 | /** |
| 157 | * An async lock only runs 1 function at a time, this is useful if you have a series of async operations that depend on the computation of previous operation. |