CODEC-291: Hex Encode/Decode with existing arrays

Squashed commit of the following:

commit 878d96cec17ce487775306d40171922383d1210a
Author: Adam Retter <adam.retter@googlemail.com>
Date:   Fri Jul 3 17:53:41 2020 +0200

    Add missing tests

commit c1bcf38f3cbf03979bc3de09916a53194156da8c
Author: Adam Retter <adam.retter@googlemail.com>
Date:   Tue Jun 30 19:08:20 2020 +0200

    Make public methods

commit 45533a1876f3a68f5040e6645d3db2f6c6f6e875
Author: Adam Retter <adam.retter@googlemail.com>
Date:   Mon Jun 29 22:26:15 2020 +0200

    Add additional encode/decode functions for writing data to existing arrays
2 files changed
tree: 955a5e6c74b188a5256549556f11ead7879ef503
  1. .github/
  2. src/
  3. .gitattributes
  4. .gitignore
  5. .travis.yml
  6. checkstyle-suppressions.xml
  7. checkstyle.xml
  8. CONTRIBUTING.md
  9. LICENSE-header.txt
  10. LICENSE.txt
  11. NOTICE.txt
  12. pmd.xml
  13. pom.xml
  14. PROPOSAL.html
  15. README.md
  16. RELEASE-NOTES.txt
  17. TODO
README.md

Apache Commons Codec

Build Status Coverage Status Maven Central Javadocs

The Apache Commons Codec package contains simple encoder and decoders for various formats such as Base64 and Hexadecimal. In addition to these widely used encoders and decoders, the codec package also maintains a collection of phonetic encoding utilities.

Documentation

More information can be found on the Apache Commons Codec homepage. The Javadoc can be browsed. Questions related to the usage of Apache Commons Codec should be posted to the user mailing list.

Where can I get the latest release?

You can download source and binaries from our download page.

Alternatively you can pull it from the central Maven repositories:

<dependency>
  <groupId>commons-codec</groupId>
  <artifactId>commons-codec</artifactId>
  <version>1.14</version>
</dependency>

Contributing

We accept Pull Requests via GitHub. The developer mailing list is the main channel of communication for contributors. There are some guidelines which will make applying PRs easier for us:

  • No tabs! Please use spaces for indentation.
  • Respect the code style.
  • Create minimal diffs - disable on save actions like reformat source code or organize imports. If you feel the source code should be reformatted create a separate PR for this change.
  • Provide JUnit tests for your changes and make sure your changes don't break any existing tests by running mvn clean test.

If you plan to contribute on a regular basis, please consider filing a contributor license agreement. You can learn more about contributing via GitHub in our contribution guidelines.

License

This code is under the Apache Licence v2.

See the NOTICE.txt file for required notices and attributions.

Donations

You like Apache Commons Codec? Then donate back to the ASF to support the development.

Additional Resources