Pudu programming language
Menu
API reference

Std.RingBuffer.create

1 declaration

fn

create: Int -> Std.RingBuffer.RingBuffer

This is a callable function.

What it does

Creates a ring buffer whose capacity is rounded up to the nearest power of two (min 4).

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.RingBufferSearch related declarations