aswi2020horky-gitlab/demo_mh/Deserializer/src/deserialize/Formatter.java @ 920327ea
1 |
package deserialize; |
---|---|
2 |
|
3 |
public class Formatter { |
4 |
|
5 |
public static int createInt(byte first, byte second) { |
6 |
return ((first & 0xFF) << 8) | (second & 0xFF); |
7 |
}
|
8 |
|
9 |
}
|