code cleanup
This commit is contained in:
parent
07daeafa05
commit
e8a1a20a16
@ -262,8 +262,8 @@ class AeronInput
|
|||||||
var b = internalBuffer!!.getByte(position++).toInt()
|
var b = internalBuffer!!.getByte(position++).toInt()
|
||||||
var result = b and 0x7F
|
var result = b and 0x7F
|
||||||
if (b and 0x80 != 0) {
|
if (b and 0x80 != 0) {
|
||||||
val byteBuf = internalBuffer
|
val byteBuf = internalBuffer!!
|
||||||
b = byteBuf!!.getByte(position++).toInt()
|
b = byteBuf.getByte(position++).toInt()
|
||||||
result = result or (b and 0x7F shl 7)
|
result = result or (b and 0x7F shl 7)
|
||||||
if (b and 0x80 != 0) {
|
if (b and 0x80 != 0) {
|
||||||
b = byteBuf.getByte(position++).toInt()
|
b = byteBuf.getByte(position++).toInt()
|
||||||
|
Loading…
Reference in New Issue
Block a user