Package net.fec.openrq.decoder

Examples of net.fec.openrq.decoder.DataDecoder.sourceBlockIterable()


        final List<Object[]> list = new ArrayList<>();

        final DataEncoder dataEnc = OpenRQ.newEncoder(new byte[FEC_PARAMS.dataLengthAsInt()], FEC_PARAMS);
        final DataDecoder dataDec = OpenRQ.newDecoder(FEC_PARAMS, 0);

        for (SourceBlockDecoder sbDec : dataDec.sourceBlockIterable()) {
            // insert empty decoder
            list.add(new Object[] {sbDec.information(), true});
        }

        for (SourceBlockEncoder sbEnc : dataEnc.sourceBlockIterable()) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.