Pudu programming language
Menu
API reference

Std.Crypto.utf8

1 declaration

fn

utf8: Str -> Array[UInt32]

This is a callable function.

What it does

Text as UTF-8 bytes.

Written here rather than taken from the runtime because it is bit work the

language can express, and a standard library that reached past the language

for it would be saying the language could not do it.

Read the signature

  • The text after the name is the type checked by Pudu.
  • Read arrows from left to right: inputs come first, and the final type is returned.
  • Names inside [ ] are type arguments, such as the item type held by a collection.

Back to Std.CryptoSearch related declarations