Module Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults Num Num body Expr Str Assign NameStore ListLoad Assign NameStore Str While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore CompareLt Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str If CompareGt Call NameLoad NameLoad Num body AugAssignAdd NameStore BinOpAdd ListLoad BinOpAdd NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Slice Num Num Assign NameStore SubscriptLoad NameLoad Index Num orelse AugAssignAdd NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad NameLoad If BoolOpOr NameLoad CompareGtE NameLoad NameLoad body Break If CompareLt NameLoad NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad NameLoad Assign NameStore BinOpSub NameLoad NameLoad Assign NameStore BinOpAdd SubscriptLoad NameLoad Slice NameLoad ListLoad NameLoad Assign NameStore BinOpAdd Call NameLoad GeneratorExp Call NameLoad NameLoad comprehension NameStore NameLoad NameLoad Expr Call AttributeLoad NameLoad attr UnaryOpUSub NameLoad Num Return SubscriptLoad NameLoad Slice NameLoad decorator_list
N/A N/A  Utilities for reading and writing to binary file formats
 read_zt_byte_strings N/A N/A fobj n_strings bufsize N/A 1 1024 N/A N/A Read zero-terminated byte strings from a file object `fobj`

    Returns byte strings with terminal zero stripped.

    Found strings can be of any length.

    The file position of `fobj` on exit will be at the byte after the terminal
    0 of the final read byte string.

    Parameters
    ----------
    f : fileobj
        File object to use.  Should implement ``read``, returning byte objects
        (str in Python 2), and ``seek(n, 1)`` to seek from current file
        position.
    n_strings : int, optional
        Number of byte strings to return
    bufsize: int, optional
       Define chunk size to load from file while searching for zero terminals.
       We load this many bytes at a time from the file, but the returned
       strings can be longer than `bufsize`.

    Returns
    -------
    byte_strings : list
        List of byte strings, where strings do not include the terminal 0
     N/A byte_strings N/A N/A trailing N/A True N/A N/A buf N/A N/A fobj read bufsize N/A eof N/A N/A len buf bufsize N/A zt_strings N/A N/A buf split N/A N/A N/A len zt_strings 1 N/A N/A byte_strings N/A N/A N/A trailing N/A zt_strings N/A 0 N/A zt_strings N/A 1 -1 N/A trailing N/A zt_strings N/A -1 N/A N/A trailing N/A zt_strings N/A 0 N/A n_found N/A len byte_strings N/A N/A eof N/A n_found n_strings N/A N/A N/A N/A n_found n_strings N/A N/A N/A ValueError N/A N/A Expected {0} strings, found {1} format n_strings n_found N/A n_extra N/A n_found n_strings N/A leftover_strings N/A N/A byte_strings N/A n_strings N/A trailing N/A extra_bytes N/A N/A sum N/A N/A len bs N/A bs leftover_strings n_extra N/A N/A N/A fobj seek N/A extra_bytes 1 N/A N/A byte_strings N/A n_strings N/A