feat[protocol]: 提升协议的兼容性,协议向前兼容

This commit is contained in:
jaysunxiao committed 2022-05-22 22:26:42 +08:00
1 parent 389de2b6b3
commit 78cb8bd2fc
28 files changed
+1192 -1315

No files matched your search

@@ -31,6 +31,9 @@ func setReadOffset(readIndex: int) -> void:
func getReadOffset() -> int:
return readOffset
func isReadable() -> bool:
return writeOffset > readOffset
# -------------------------------------------------write/read-------------------------------------------------
func writePoolByteArray(value: PoolByteArray):
var length = value.size()