Get the key index as bytes.
List<int> toBytes([Endian endian = Endian.big]) { return IntUtils.toBytes(index, length: fixedLength(), byteOrder: endian); }