docs: @Override
      public int encode ( byte[] dst, int dstIndex ) {
          int len = super.encode(dst, dstIndex);
          int exp = size();
          int actual = getLength();
          if ( exp != actual ) {
              throw new IllegalStateException(String.format("Wrong size calculation have %d expect %d", exp, actual));
          }
          return len;
      }