isWhitespace static method

bool isWhitespace(
  1. int byte
)

True for the six PDF whitespace bytes.

Implementation

static bool isWhitespace(int byte) =>
    byte == 0x20 ||
    byte == 0x0A ||
    byte == 0x0D ||
    byte == 0x09 ||
    byte == 0x0C ||
    byte == 0x00;