Function allocNextIntoArrayList [src]

Equivalent to allocNextIntoArrayListMax(value_list, when, default_max_value_len);

Prototype

pub fn allocNextIntoArrayList(self: *@This(), value_list: *ArrayList(u8), when: AllocWhen) AllocIntoArrayListError!?[]const u8

Parameters

self: *@This()value_list: *ArrayList(u8)when: AllocWhen

Possible Errors

BufferUnderrun
OutOfMemory Error
SyntaxError Error
UnexpectedEndOfInput Error
ValueTooLong AllocError

Source

pub fn allocNextIntoArrayList(self: *@This(), value_list: *ArrayList(u8), when: AllocWhen) AllocIntoArrayListError!?[]const u8 { return self.allocNextIntoArrayListMax(value_list, when, default_max_value_len); }