__builtin__.bytearray.startswith¶
-
bytearray.startswith(prefix[, start[, end]]) → bool¶ Return True if B starts with the specified prefix, False otherwise. With optional start, test B beginning at that position. With optional end, stop comparing B at that position. prefix can also be a tuple of strings to try.