A ByteStringvalue is encoded as an xs:base64Binaryvalue (see Base64).

The XML schema for a ByteString is:

<xs:element name="ByteString" type="xs:base64Binary" nillable="true"/>