private @Nullable CloseableImage decodeXml(
      final EncodedImage encodedImage,
      final int length,
      final QualityInfo qualityInfo,
      final ImageDecodeOptions options) {
    if (mXmlDecoder != null) {
      return mXmlDecoder.decode(encodedImage, length, qualityInfo, options);
    }
    return null;
  }
Decodes a binary xml resource.

@param encodedImage input image (encoded bytes plus meta data)
@param length amount of currently available data in bytes
@param qualityInfo quality info for the image
@return a CloseableXml
imagepipeline/src/main/java/com/facebook/imagepipeline/decoder/DefaultImageDecoder.java