Package org.jwat.common

Examples of org.jwat.common.FixedLengthInputStream


        in = new DigestInputStreamNoSkip( new ByteArrayInputStream( srcArr ), md );
        Assert.assertEquals( 1, in.skip( 10 ) );
        Assert.assertEquals( 0, in.skip( 10 ) );

        in = new FixedLengthInputStream( new ByteArrayInputStream( srcArr ), srcArr.length );
        Assert.assertEquals( 1, in.skip( 10 ) );
        Assert.assertEquals( 0, in.skip( 10 ) );

        in = new MaxLengthRecordingInputStream( new ByteArrayInputStream( srcArr ), srcArr.length );
        Assert.assertEquals( 1, in.skip( 10 ) );
View Full Code Here

TOP

Related Classes of org.jwat.common.FixedLengthInputStream

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.