Class SizePrefixed.LengthByteScanner
java.lang.Object
io.activej.csp.process.frame.impl.SizePrefixed.LengthByteScanner
- All Implemented Interfaces:
io.activej.bytebuf.ByteBufs.ByteScanner
- Enclosing class:
- SizePrefixed
public static final class SizePrefixed.LengthByteScanner
extends Object
implements io.activej.bytebuf.ByteBufs.ByteScanner
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
LengthByteScanner
public LengthByteScanner()
-
-
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
-