bytes-java icon indicating copy to clipboard operation
bytes-java copied to clipboard

Bytes is a utility library that makes it easy to create, parse, transform, validate and convert byte arrays in Java. It supports endianness as well as immutability and mutability, so the caller may de...

Results 8 bytes-java issues
Sort by recently updated
recently updated
newest added

Hi Patrick, Correct me if I'm wrong but it looks like `checkstyle:check` binds to Maven's `verify` phase by default ([docs](https://maven.apache.org/plugins/maven-checkstyle-plugin/check-mojo.html)). Thus it seems worth it to adjust the docs since...

Currently the default type is described as "immutable" but in realty it's just a "copy-on-write" instance. It would make more sense if the default instance is mutable, with wrapper to...

enhancement

Hi! Thanks for such cool lib! Is it possible to implement Bytes.multiply and Bytes.sum methods?

enhancement
help wanted

Addresses #63 Before: ``` > jlink -p target/bytes-1.6.2.jar --add-modules at.favre.lib.bytes --output jre Error: automatic module cannot be used with jlink: at.favre.lib.bytes from file:///Users/emccue/Development/bytes-java/target/bytes-1.6.2.jar ``` After: ``` > jlink -p target/bytes-1.6.2.jar...

A prerequisite to addressing https://github.com/patrickfav/bcrypt/issues/69 would be to give this dependency a module-info as well. This can be done with a multi-release jar to keep compatibility with Java 7 and...

When `Base64.decode(CharSequence in)` decodes a string, in some cases for "bad" strings in throws `IllegalArgumentException`: https://github.com/patrickfav/bytes-java/blob/e622b3b4dfe0bca2b65d2dcd6dae78441ee2961a/src/main/java/at/favre/lib/bytes/Base64.java#L92 , but in other cases it returns `null`. https://github.com/patrickfav/bytes-java/blob/e622b3b4dfe0bca2b65d2dcd6dae78441ee2961a/src/main/java/at/favre/lib/bytes/Base64.java#L108-L110 This makes the method harder...

Bumps org.apache.felix:maven-bundle-plugin from 5.1.9 to 6.0.0. [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.felix:maven-bundle-plugin&package-manager=maven&previous-version=5.1.9&new-version=6.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a...

dependencies

I recently wrote the following methods and thought they could be added to the _bytes-java_ library if it is believed that they might be useful to other people. ```java /**...