Skip to main content



Provides utilities for working with static and variadic lists.

You can import these APIs from the buffer package. For example:

from buffer.list import Dim


  • Dim: A static or dynamic dimension modeled with an optional integer.
  • DimList: This type represents a list of dimensions. Each dimension may have a static value or not have a value, which represents a dynamic dimension.