API Reference / Modules / internal / types / strbuf internal.types.strbuf Standard library Module View source class strbuf class strbuf View complete class API → Fields 4 data Ptr[u8] n int m int kind int Constructors 1 __init__ __init__(self: Self, capacity: int = 16, kind: int = 0) Methods 3 append append(self: Self, s: str) reverse reverse(self: Self) trim trim(self: Self) Special methods 1 __str__ __str__(self: Self)
class strbuf class strbuf View complete class API → Fields 4 data Ptr[u8] n int m int kind int Constructors 1 __init__ __init__(self: Self, capacity: int = 16, kind: int = 0) Methods 3 append append(self: Self, s: str) reverse reverse(self: Self) trim trim(self: Self) Special methods 1 __str__ __str__(self: Self)