PyDocs

Nav

Python Runtime Services

bytearray.endswith

  • bytearray.endswith(suffix[, start[, end]])
Return True if the bytearray ends with the specified suffix, False otherwise.

suffix
  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.endswith.
See Also
No see-alsos for builtins/bytearray.endswith
0 Notes
No notes for bytearray.endswith