Retrieve the byte at the index i
The index to read. Can be negative to read from the end
The byte found at the index, or an empty bytes value
Perform a bitwise AND operation with this bytes value and another bytes value.
The shorter of the two values will be zero-left extended to the larger length.
The other bytes value
The bitwise operation result
Perform a bitwise OR operation with this bytes value and another bytes value
The shorter of the two values will be zero-left extended to the larger length.
The other bytes value
The bitwise operation result
Perform a bitwise XOR operation with this bytes value and another bytes value.
The shorter of the two values will be zero-left extended to the larger length.
The other bytes value
The bitwise operation result
Concatenate this bytes value with another bytes value
The other bytes value
The concatenation result
Compares this bytes value with another.
The other bytes value
True if both values represent the same byte sequence
Returns a copy of this bytes sequence
Returns a slice of this bytes sequence from the specified start to the end
The index to start slicing from. Can be negative to count from the end.
Returns a slice of this bytes sequence from the specified start to the specified end
The index to start slicing from. Can be negative to count from the end.
The index to end the slice. Can be negative to count from the end.
Interpret this byte sequence as a utf-8 string
A sequence of zero or more bytes (ie. byte[])