Writes a 32-bit integer in compressed format, accomodating rooms for some negative values. The minNegativeValue simply offsets the written value. Use CKBinaryReader.ReadNonNegativeSmallInt32(int,int) with the same minNegativeValue to read it back.
Writing a negative value lower than the minNegativeValue is totally possible, however more than 4 bytes will be required for them.
The default value of -1 is perfect to write small integers that are greater or equal to -1.