In JAVA the method getByte() is undefined for for Ints, Booleans and all primitive data types (I believe).
- Is there a way I can get my Boolean and/or Int variables to work with
the method. - Or what data type do you recommend i change the variables too.
You can use ByteBuffer to convert primitives to
byte[]and vice versaExample