Commit Graph

18 Commits (341fad9b83448c377697608f4b68e82d2987a6e1)

Author SHA1 Message Date
Graham 6498d39306 Add Gradle 7 version catalog 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