range

fun range(start: Int, end: Int): ByteArrayKey(source)

Creates a new ByteArrayKey object containing a subrange of bytes from the current ByteArrayKey.

Return

A new ByteArrayKey object with the specified range of bytes.

Parameters

start

The starting index (inclusive) of the range to extract.

end

The ending index (exclusive) of the range to extract.