zktraffic/base/client_message.py
def read_strings(cls, data, offset):
    """
    reads a list<str>

    Note: this might return early if a very long string is found. So the returned
    offset might not be the actual offset.
    """
    strs = []

    num_strs, offset = read_number(data, offset)
    if num_strs > cls.MAX_WATCHES:
      raise cls.TooManyWatches()

    for i in range(0, num_strs):
      s, offset = read_string(data, offset)
      strs.append(s)

    return (strs, offset)

    reads a list<str>

    Note: this might return early if a very long string is found. So the returned
    offset might not be the actual offset.
    
reads a list
Note: this might return early if a very long string is found. So the returned
offset might not be the actual offset.
reads a list Note : this might return early if a very long string is found . So the returned offset might not be the actual offset .
def read_strings(cls, data, offset):
    strs = []
    num_strs, offset = read_number(data, offset)
    if num_strs > cls.MAX_WATCHES:
      raise cls.TooManyWatches()
    for i in range(0, num_strs):
      s, offset = read_string(data, offset)
      strs.append(s)
    return (strs, offset)
def read_strings ( cls , data , offset ) : strs = [ ] num_strs , offset = read_number ( data , offset ) if num_strs > cls . MAX_WATCHES : raise cls . TooManyWatches ( ) for i in range ( 0 , num_strs ) : s , offset = read_string ( data , offset ) strs . append ( s ) return ( strs , offset )
reads a list<str>
Note: this might return early if a very long string is found.
reads a list<str > Note : this might return early if a very long string is found .
"""
    reads a list<str>

    Note: this might return early if a very long string is found. So the returned
    offset might not be the actual offset.
    """
cls
data
offset