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