All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.server.hotrod.BitShift Maven / Gradle / Ivy

package org.infinispan.server.hotrod;

public class BitShift {
   public static byte mask(byte value, int mask) {
      return (byte) (value & mask);
   }
   public static byte right(byte value, int num) {
      return (byte) ((0xFF & value) >> num);
   }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy