public WriteSmallInt32 ( int value, int minNegativeValue = -1 ) : void | ||
value | int | A 32-bit integer (greater or equal to ). |
minNegativeValue | int | Lowest possible negative value. |
return | void |
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.
public WriteSmallInt32 ( int value, int minNegativeValue = -1 ) : void | ||
value | int | A 32-bit integer (greater or equal to ). |
minNegativeValue | int | Lowest possible negative value. |
return | void |