private byte calcUserBits(ValueWrapper vw) {
    return vw.getUserBits();
  }
Returns the number of bytes it will take to serialize this.opState.
geode-core/src/main/java/org/apache/geode/internal/cache/Oplog.java