{title:'Binary Data', updated:'9.0.0'}

Entries can also be accessed as binary data. 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.Builder}
  - {@link oaj.config.Config.Builder#binaryFormat(BinaryFormat) binaryFormat(BinaryFormat)}

For example:

| key = Zm9vYmFycw==

| byte[] bytes = config.get("key").asBytes().orElse(null);

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.Builder}
  - {@link oaj.config.Config.Builder#binaryLineLength(int) binaryLineLength(int)}