docs: @Override
      protected int writeBytesWireFormat ( byte[] dst, int dstIndex ) {
          int start = dstIndex;
          if ( this.unlocks != null ) {
              for ( LockingAndXRange lockingAndXRange : this.unlocks ) {
                  dstIndex += lockingAndXRange.encode(dst, dstIndex);
              }
          }
          if ( this.locks != null ) {
              for ( LockingAndXRange lockingAndXRange : this.locks ) {
                  dstIndex += lockingAndXRange.encode(dst, dstIndex);
              }
          }
          return start - dstIndex;
      }