rememberSamplingDecoder
创建SamplingDecoder的方法
Return
SamplingDecoder成功创建时不为空,创建过程中出现异常会返回Exception
Parameters
file
fun rememberSamplingDecoder(inputStream: InputStream, rotation: SamplingDecoder.Rotation = SamplingDecoder.Rotation.ROTATION_0): Pair<SamplingDecoder?, Exception?>
创建SamplingDecoder的方法
Return
SamplingDecoder成功创建时不为空,创建过程中出现异常会返回Exception
Parameters
inputStream
rotation
请参考SamplingDecoder.Rotation