doc
parent
b2a01aaa91
commit
f2ff2cc5e3
|
@ -89,7 +89,7 @@ func test():
|
||||||
|
|
||||||
var packet = ProtocolManager.read(buffer)
|
var packet = ProtocolManager.read(buffer)
|
||||||
print(packet)
|
print(packet)
|
||||||
|
packet.myCompatible = 0
|
||||||
var newByteBuffer = ByteBuffer.new()
|
var newByteBuffer = ByteBuffer.new()
|
||||||
ProtocolManager.write(newByteBuffer, packet);
|
ProtocolManager.write(newByteBuffer, packet);
|
||||||
print(newByteBuffer.getWriteOffset())
|
print(newByteBuffer.getWriteOffset())
|
||||||
|
|
Loading…
Reference in New Issue