encoding: Added BinaryXmlDecoder.getOffset.