internal.types.str

Source code: internal/types/str.seq

internal.types.str.strlen(a: cobj)
extension str

Magic methods:

__new__(l: int, p: Ptr[byte])
__new__(p: Ptr[byte], l: int)
__new__()
__new__[T](what: T)
__str__(what: str)
__len__()
__bool__()
__copy__()
__add__(other: str)
__eq__(other: str)
__match__(other: str)
__ne__(other: str)

Methods:

memcpy(dest: Ptr[byte], src: Ptr[byte], len: int)
memmove(dest: Ptr[byte], src: Ptr[byte], len: int)
memset(dest: Ptr[byte], val: byte, len: int)
c_str()
from_ptr(t: cobj)
cat(*args)