PyDocs

Nav

Python Runtime Services

bytearray.startswith

  • bytearray.startswith(prefix[, start[, end]])
Return True if the bytearray starts with the specified prefix, False otherwise.

prefix
  A bytes or a tuple of bytes to try.
start
  Optional start position. Default: start of the bytearray.
end
  Optional stop position. Default: end of the bytearray.
0 Examples
No examples for builtins/bytearray.startswith.
See Also
No see-alsos for builtins/bytearray.startswith
0 Notes
No notes for bytearray.startswith