Code:
public static final PacketMetaDataGroup METADATA_GROUP = PacketMetaDataGroup.createFromArray(new int[] {
-3, -3, 2, -3, -3, -3, -3, -3, 8, -3, // 0
-3, -3, -3, 2, -3, -3, -3, -3, -3, -3, // 10
-3, -3, -3, -3, -3, -3, -3, -3, -3, -3, // 20
1, -3, 2, -3, -3, -3, -3, -3, -3, 6, // 30
-3, -3, 8, -3, -3, -3, -3, 8, -3, -3, // 40
-3, -3, -3, 8, -3, -3, -3, -3, -3, -3, // 50
-3, 4, -3, -3, -3, -3, -1, -3, -3, -3, // 60
-1, -3, -3, -3, 2, -3, -3, -3, -3, 0, // 70
-3, -3, -3, -3, -3, 2, -3, 2, -3, -3, // 80
4, 0, -3, -3, -3, -1, -3, -3, -3, -3, // 90
-3, 8, -3, -3, 14, -3, 8, -1, -3, -3, // 100
-3, -3, -3, -3, -3, -3, -3, -3, -3, -3, // 110
-3, -3, -3, -3, -3, -3, -3, -3, -3, -3, // 120
-3, -3, -3, -3, 8, -3, -3, -3, -3, -3, // 130
8, -3, -3, -3, -3, -3, 0, -3, -3, -3, // 140
-3, -3, -3, -3, 6, -3, -3, -3, -3, 2, // 150
-3, 16, -3, -3, -3, -3, -3, 2, 12, -3, // 160
6, -3, -3, -3, -3, -3, 2, -3, -3, -3, // 170
-3, -3, -3, 4, -3, 8, -3, -3, -3, -3, // 180
-3, 8, -3, 10, -3, -3, -3, -3, -1, -3, // 190
-3, -3, 8, -3, -3, -3, -3, -3, -3, -3, // 200
-3, -3, -3, 4, -3, -3, -3, -3, -3, 0, // 210
-3, 6, -3, 2, -3, -3, -3, -3, -3, 9, // 220
-3, 2, 14, -3, -3, -3, 8, -3, -3, -3, // 230
-3, 8, -3, -3, -3, -3, -3, -3, -3, -1, // 240
-3, -3, -3, -3, -3, -3, // 250
});
In the code above, you can see a lot of -3. This would indicate that the packet's size has not been identified yet (The code is from the server). "-2" indicates that the size of the packet is variable and should be read as a short while "-1" indicates that the packet size must be read as a byte. Any positive value means that the size of the packet is fixed to that specific value.