writeInt method

void writeInt(
  1. int value, {
  2. int numOfBytes = 4,
  3. dynamic endianness = Endian.little,
  4. bool signed = false,
})

Implementation

void writeInt(int value,
    {int numOfBytes = 4, endianness = Endian.little, bool signed = false}) {
  encodeInt(offset, value, numOfBytes, endianness, signed);
  offset += numOfBytes;
}