code: @Override
      protected final int serializeBytes1to3 () {
  
          int line = 0;
  
          line |= taskAttributes.value() << Constants.TWO_BYTES_SHIFT;
  
          if (writeExpectedFlag) {
              line |= WRITE_EXPECTED_FLAG_MASK;
          }
  
          if (readExpectedFlag) {
              line |= READ_EXPECTED_FLAG_MASK;
          }
  
          return line;
      }
docs: {@inheritDoc}