writeInt method

  1. @override
void writeInt(
  1. int n
)
override

Writes int n into the buffer

  • n: the value to write

Implementation

@override
void writeInt(int n) {
  if (n >= 0) {
    _writePositiveInt(n);
  } else {
    _writeNegativeInt(n);
  }
}