Graham
|
6f13a0a737
|
Add readVarInt and writeVarInt extension methods
Signed-off-by: Graham <gpe@openrs2.org>
|
3 years ago |
Graham
|
29fecec34e
|
Add support for overriding the charset in readString/writeString
Signed-off-by: Graham <gpe@openrs2.org>
|
3 years ago |
Graham
|
ea725b3881
|
Add extension methods for reading/writing null-terminated Cp1252 strings
Signed-off-by: Graham <gpe@openrs2.org>
|
3 years ago |
Graham
|
bd5a925f9b
|
Add BitBuf
Signed-off-by: Graham <gpe@openrs2.org>
|
3 years ago |
Graham
|
359891c01e
|
Convert all test objects to classes
This is required for IDEA to display the run test icon in the gutter.
Signed-off-by: Graham <gpe@openrs2.org>
|
4 years ago |
Graham
|
f2f3da3281
|
Simplify testCrc32 slightly
Signed-off-by: Graham <gpe@openrs2.org>
|
4 years ago |
Graham
|
30828308b2
|
Replace assertThrows with assertFailsWith
Signed-off-by: Graham <gpe@openrs2.org>
|
4 years ago |
Graham
|
76977303b2
|
Add shorthand methods for creating ByteBufs from ByteArrays and Strings
Signed-off-by: Graham <gpe@openrs2.org>
|
4 years ago |
Graham
|
f143eef142
|
Move Kotlin files from src/{main,test}/java to src/{main,test}/kotlin
Signed-off-by: Graham <gpe@openrs2.org>
|
4 years ago |
Graham
|
ce5b76ef0f
|
Rename dev.openrs2 package to org.openrs2
Signed-off-by: Graham <gpe@openrs2.org>
|
4 years ago |
Graham
|
a4234d066d
|
Add CRC-32 extension method to the ByteBuf class
Signed-off-by: Graham <gpe@openrs2.dev>
|
4 years ago |
Graham
|
ec4f8b59c9
|
Use default ByteBufAllocator in unit tests
Signed-off-by: Graham <gpe@openrs2.dev>
|
4 years ago |
Graham
|
6314f3625a
|
Add ByteBuf extension methods for reading/writing smarts
Signed-off-by: Graham <gpe@openrs2.dev>
|
4 years ago |