
Reference data for conversion tests
===================================

SPDX-FileType: DOCUMENTATION
SPDX-FileCopyrightText: NONE
SPDX-License-Identifier: CC0-1.0


General tests
-------------
The file "data.raw" contains 256 octets with values corresponding to their
positions.

The file "data_concat.raw" contains the concatenation of "data.raw" two times.

The file "data_generic.base64" contains the Base 64 encoded data from
"data.raw".

The file "data_nopad.base64" contains the Base 64 encoded data from "data.raw"
without padding at the end.

The file "data_invtail.base64" contains the Base 64 encoded data from "data.raw"
with invalid (nonzero) unused bits in the tail.

The file "data_nac.base64" contains the Base 64 encoded data from "data.raw"
with the character "!" inserted after the first and before the last character.

The file "invtail.base64" contains the Base 64 encoded data from
"invtail.raw" with invalid (nonzero) unused bits in the tail. Used to test
the case with long tail ("data_invtail.*" above are used to test the case with
short tail).


Padding tests
-------------
The files "123[XYZ].raw" contain their names (without extension) as data.
The files "123[XYZ].base64" contain this data with Base 64 encoding applied.

The file "invpad_1.base64" contains a trailing Pad character without tail in
front of it. "invpad_1.raw" contains the corresponding data.

The file "invpad_2.base64" contains a stray Pad character with data behind it.
"invpad_2.raw" contains the corresponding data (truncated at Pad character).


EBCDIC tests
------------
The file "data.ebcdic" contains the data from "data.raw" (all 256 codepoints)
converted to EBCDIC. Question mark (0x6F) is mapped to unsupported codepoints.
