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