SelectionData.cs
Code: Select all
public class SelectionData {
//we store the offsets for data offsets per byte. so each line would have 16 possible offsets.
//well, since each byte is actually 2 ASCII characters and a space, we need to map it differently
//so actually each selection offset is spaced 3 bytes apart
//eg. offset 0 is actually at offset 6 -> SelectionOffsetMapping[0] = 6 -> 0000: 0
//eg. offset 5 is actually at offset 21 -> SelectionOffsetMapping[5] = 21 -> 0000: 01 FF CE 01 00 0)
public static int[] SelectionOffsetMapping = new int[] {
6, 9, 12, 15,
18, 21, 24, 27,
30, 33, 36, 39,
42, 45, 48, 51
};