int compare(
     ComparisonMode mode,
     VarBufferPos buffer2,
     VarDefNumDecComp0 varDefNum1,
     VarBufferPos buffer1) {
   Dec dec1 = varDefNum1.getAsDecodedDec(buffer1);
   int n2 = getAsDecodedInt(buffer2);
   return internalCompare(dec1, n2);
 }
 void write(VarBufferPos buffer, VarDefNumDecComp0 varSource, VarBufferPos bufferSource) {
   long l = varSource.getAsDecodedLong(bufferSource);
   writeSignSeparatedLeadingIntComp0AsLong(buffer, l);
 }