コード例 #1
0
 int compare(
     ComparisonMode mode,
     VarBufferPos buffer2,
     VarDefNumIntSignComp4 varDefNum1,
     VarBufferPos buffer1) {
   int n1 = varDefNum1.getAsDecodedInt(buffer1);
   int n2 = getAsDecodedInt(buffer2);
   return internalCompare(n1, n2);
 }
コード例 #2
0
 void write(VarBufferPos buffer, VarDefNumIntSignComp4 varSource, VarBufferPos bufferSource) {
   long l = varSource.getAsDecodedLong(bufferSource);
   writeSignSeparatedLeadingIntComp0AsLong(buffer, l);
 }