Binary Data

The following methods are provided for accessing binary data:

- {@link oaj.config.Config}
  - {@link oaj.config.Config#getBytes(String) getBytes(String)}
  - {@link oaj.config.Config#getBytes(String,byte[]) getBytes(String,byte[])}

Binary data can be represented in 3 formats:

- BASE-64 (default)
  Example: "Zm9vYmFycw=="
- Hexadecimal
  Example: "666F6F62617273"
- Spaced hexadecimal
  Example: "66 6F 6F 62 61 72 73"

The binary data format is controlled via the following setting:

- {@link oaj.config.Config#CONFIG_binaryFormat}

For example:

key = Zm9vYmFycw==

byte[] bytes = c.getBytes("key");

Binary lines can be split up into separate lines for readability:

key = Zm9vYm Fycw==

Binary data line wrapping can be controlled via the following setting:

- {@link oaj.config.Config#CONFIG_binaryLineLength}