Package io.activej.csp.binary
Class Utils.VarIntByteScanner
java.lang.Object
io.activej.csp.binary.Utils.VarIntByteScanner
- All Implemented Interfaces:
io.activej.bytebuf.ByteBufs.ByteScanner
- Enclosing class:
- Utils
public static class Utils.VarIntByteScanner
extends Object
implements io.activej.bytebuf.ByteBufs.ByteScanner
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
VarIntByteScanner
public VarIntByteScanner()
-
-
Method Details
-
consume
public boolean consume(int index, byte b) throws io.activej.common.exception.MalformedDataException - Specified by:
consumein interfaceio.activej.bytebuf.ByteBufs.ByteScanner- Throws:
io.activej.common.exception.MalformedDataException
-
getResult
public int getResult()
-