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