I am getting familiar serialization API's in JDK. I have a simple question regarding implementation of
java.io.DataOutPutStream writeXXX operations.
Here is the implementation for this API
Why there is a bitwise & with 0xFF ?
Edit : out.write will only write a byte and bitwise & with 0xFF will return a byte