Class ByteArrayStringConverter

java.lang.Object
org.tquadrat.foundation.util.stringconverter.ByteArrayStringConverter
All Implemented Interfaces:
Serializable, StringConverter<byte[]>

@ClassVersion(sourceVersion="$Id: ByteArrayStringConverter.java 1045 2023-02-07 23:09:17Z tquadrat $") @API(status=STABLE, since="0.1.0") public final class ByteArrayStringConverter extends Object implements StringConverter<byte[]>

The implementation of StringConverter for byte arrays.

The output from toString(byte[]) will be in BASE64 format, encoded to ASCII.

Correspondingly, fromString(CharSequence) expects an ASCII encoded BASE64 stream.

Both methods are using the BASE64 basic encoding scheme.

Author:
Thomas Thrien (thomas.thrien@tquadrat.org)
Version:
$Id: ByteArrayStringConverter.java 1045 2023-02-07 23:09:17Z tquadrat $
Since:
0.1.0
See Also:
UML Diagram
UML Diagram for "org.tquadrat.foundation.util.stringconverter.ByteArrayStringConverter"

UML Diagram for "org.tquadrat.foundation.util.stringconverter.ByteArrayStringConverter"

UML Diagram for "org.tquadrat.foundation.util.stringconverter.ByteArrayStringConverter"