docs: public <T extends Enum<T>> void expect(final Enum<T> expect) throws IOException {
      final Bits checkBits = this.read(8);
      final long expectedLong = expect.ordinal();
      if (checkBits.toLong() != expectedLong) {
        final Bits expectedBits = new Bits(expectedLong, 8);
        throw new IOException(String.format("Check for %s failed: %s != %s", expect, checkBits, expectedBits));
      }
    }