module.md 780 B

The std module.

The std module contains a number of general purpose types and functions for use with a wide variety of app types.

The standard module includes the following namespaces:

  • [[std.collections]] - The Stack, List and Map container classes.

  • [[std.filesystem]] - Functions for working with the OS filesystem.

  • [[std.stream]] - The abstract Stream class, along with concrete FileStream and DataStream implementations.

  • [[std.memory]] - The DataBuffer class to make dealing with memory buffers easier.

  • [[std.graphics]] - Classes for dealing with graphics data such Pixmap and Color.

  • [[std.stringio]] - Utility functions to help with loading, saving and parsing strings.

  • [[std.random]] - Functions for generating random numbers.