summaryrefslogtreecommitdiff
path: root/Packet-structure.md
diff options
context:
space:
mode:
authorSgeo <[email protected]>2017-06-03 02:13:04 -0400
committerSgeo <[email protected]>2017-06-03 02:13:04 -0400
commit369b9cfcd4d121f1b833dcb09a7511a495c2b130 (patch)
treeafb749ce9f8c18e7f7b3a7930ebb40438bf5dd03 /Packet-structure.md
parentUpdated Packet structure (markdown) (diff)
downloadlibreworlds-wiki-369b9cfcd4d121f1b833dcb09a7511a495c2b130.tar.xz
libreworlds-wiki-369b9cfcd4d121f1b833dcb09a7511a495c2b130.zip
Modified UTF-8 encoding
Diffstat (limited to 'Packet-structure.md')
-rw-r--r--Packet-structure.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/Packet-structure.md b/Packet-structure.md
index 5fae3d6..2e7dba1 100644
--- a/Packet-structure.md
+++ b/Packet-structure.md
@@ -3,4 +3,6 @@
* Packet type: 1 byte
* Packet data
-If the initial ObjID is "CO" (254), Packet data consists of ObjIDs followed by packet data for the packet type. \ No newline at end of file
+If the initial ObjID is "CO" (254), Packet data consists of ObjIDs followed by packet data for the packet type.
+
+WorldsString: 1 byte for remaining length in bytes, then the string in [Modified UTF-8 encoding](https://docs.oracle.com/javase/6/docs/api/java/io/DataInput.html#modified-utf-8) \ No newline at end of file