10 bit support in Java