Implement BinaryXmlEncoder using DynamicByteBuffer.