Pudu programming language
Menu
API reference

Std.Buffer.alloc

1 declaration

fn

alloc: Int -> Std.Buffer.Buffer

This is a callable function.

What it does

Allocates a new contiguous buffer of bytes length initialized to zero.

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.

Back to Std.BufferSearch related declarations