question: public GifDrawable ( InputStream stream ) throws IOException { if ( stream == null ) throw new NullPointerException ( "Source is null" ) ; if ( ! stream . markSupported ( ) ) throw new IllegalArgumentException ( "InputStream does not support marking" ) ; mGifInfoPtr = openStream ( mMetaData , stream , false ) ; mColors = new int [ mMetaData [ 0 ] * mMetaData [ 1 ] ] ; mInputSourceLength = - 1L ; }
target:  Creates drawable from InputStream. InputStream must support marking, IllegalArgumentException will be thrown otherwise.