DoxigAlpha

changeLength

Function parameters

Parameters

#
len:u32
builder:*Builder

Type definitions in this namespace

Types

#

Functions in this namespace

Functions

#

= 16

Values

#

Source

Implementation

#
pub fn changeLength(self: Type, len: u32, builder: *Builder) Allocator.Error!Type {
    try builder.ensureUnusedTypeCapacity(1, Type.Array, 0);
    return self.changeLengthAssumeCapacity(len, builder);
}