isprefixof package:bytestring

O(n) The isPrefixOf function takes two ByteStrings and returns True if the first is a prefix of the second.
O(n) The isPrefixOf function takes two ByteStrings and returns True iff the first is a prefix of the second.
O(n) The isPrefixOf function takes two ShortByteStrings and returns True iff the first is a prefix of the second.