updateByte method

  1. @override
void updateByte(
  1. int inp
)
override

Add one byte of data to the digested input.

Implementation

@override
void updateByte(int inp) {
  _wordBuffer[_wordBufferOffset++] = inp;

  if (_wordBufferOffset == _wordBuffer.length) {
    _processWord(_wordBuffer, 0);
  }

  _byteCount.sum(1);
}