setMirror method

void setMirror(
  1. bool mirror
)

Prepare the parser for a mirrored operation. This flag has effect only on the readFormatInformation and the readVersion. Before proceeding with readCodewords the mirror method should be called.

@param mirror Whether to read version and format information mirrored.

Implementation

void setMirror(bool mirror) {
  _parsedVersion = null;
  _parsedFormatInfo = null;
  _isMirror = mirror;
}