simplifyline.VectorUInt8

class simplifyline.VectorUInt8

Contiguous buffer of Uint8. Use np.asarray() to get to get numpy array.

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: simplifyline_pybind.VectorUInt8, arg0: buffer) -> None

  2. __init__(self: simplifyline_pybind.VectorUInt8) -> None

  3. __init__(self: simplifyline_pybind.VectorUInt8, arg0: List[int]) -> None

Copy constructor

  1. __init__(self: simplifyline_pybind.VectorUInt8, arg0: Iterable) -> None

append(self: List[int], x: int) → None

Add an item to the end of the list

clear(self: List[int]) → None

Clear the contents

count(self: List[int], x: int) → int

Return the number of times x appears in the list

extend(*args, **kwargs)

Overloaded function.

  1. extend(self: List[int], L: List[int]) -> None

Extend the list by appending all the items in the given list

  1. extend(self: List[int], L: Iterable) -> None

Extend the list by appending all the items in the given list

insert(self: List[int], i: int, x: int) → None

Insert an item at a given position.

pop(*args, **kwargs)

Overloaded function.

  1. pop(self: List[int]) -> int

Remove and return the last item

  1. pop(self: List[int], i: int) -> int

Remove and return the item at index i

remove(self: List[int], x: int) → None

Remove the first item from the list whose value is x. It is an error if there is no such item.