24 Commits (794463febdfc6230e2db5968fa413a09f45d0236)

Author SHA1 Message Date
Graham 6f13a0a737 Add readVarInt and writeVarInt extension methods 4 years ago
Graham 29fecec34e Add support for overriding the charset in readString/writeString 4 years ago
Graham ea725b3881 Add extension methods for reading/writing null-terminated Cp1252 strings 4 years ago
Graham ee151aef56 Add constants to BitBuf 4 years ago
Graham bd5a925f9b Add BitBuf 4 years ago
Graham d7e9f83953 Return ByteBuf from extension methods for chaining 4 years ago
Graham 9bb511369d Add automatically-generated ByteBuf extensions 4 years ago
Graham 359891c01e Convert all test objects to classes 4 years ago
Graham c295ecb0a0 Allow nullable ReferenceCounted objects to be passed to use 4 years ago
Graham f099972bee Make the nioBufferCount() > 1 case in crc32 more concise 4 years ago
Graham f2f3da3281 Simplify testCrc32 slightly 4 years ago
Graham 07603d3cfa Avoid copying the byte array in crc32() if possible 4 years ago
Graham 30828308b2 Replace assertThrows with assertFailsWith 4 years ago
Graham 76977303b2 Add shorthand methods for creating ByteBufs from ByteArrays and Strings 4 years ago
Graham f143eef142 Move Kotlin files from src/{main,test}/java to src/{main,test}/kotlin 4 years ago
Graham ce5b76ef0f Rename dev.openrs2 package to org.openrs2 4 years ago
Graham 2482e20063 Add BufferModule for injecting ByteBufAllocator 4 years ago
Graham 5a20b75f4f Use Preconditions.checkPositionIndexes() in ByteBuf.crc32() 4 years ago
Graham a4234d066d Add CRC-32 extension method to the ByteBuf class 4 years ago
Graham ec4f8b59c9 Use default ByteBufAllocator in unit tests 4 years ago
Graham bd010668dd Add method chaining to ByteBufExtensions 4 years ago
Graham 6314f3625a Add ByteBuf extension methods for reading/writing smarts 4 years ago
Graham 232ba32bbd Enable explicit API mode 4 years ago
Graham e0708458f9 Add use extension method for releasing reference-counted objects 4 years ago