fix write float
This commit is contained in:
@@ -82,10 +82,10 @@ public class ByteArrayOutputNetStream extends NetStream_p125 {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void writeInt(int value) {
|
public void writeInt(int value) {
|
||||||
baos.write((byte) value >>> 24);
|
baos.write((byte)((int)(value >>> 24)));
|
||||||
baos.write((byte) value >>> 16);
|
baos.write((byte)((int)(value >>> 16)));
|
||||||
baos.write((byte) value >>> 8);
|
baos.write((byte)((int)(value >>> 8)));
|
||||||
baos.write((byte) value);
|
baos.write((byte)((int)(value)));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user