encoding: Implement BinaryXmlEncoder.