15 Commits (1dc2918956005fd338d54fe50b02ff4cdd7e0edb)

Author SHA1 Message Date
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