ByteSelection constructor
Creates a byte selection with the given offsets.
Both offsets are inclusive. For selecting bytes 5 through 10,
use ByteSelection(startOffset: 5, endOffset: 10).
Consider using ByteSelection.single or ByteSelection.range factory constructors for more convenient creation.
Implementation
const ByteSelection({required this.startOffset, required this.endOffset});