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 Details

    • VarIntByteScanner

      public VarIntByteScanner()
  • Method Details

    • consume

      public boolean consume(int index, byte b) throws io.activej.common.exception.MalformedDataException
      Specified by:
      consume in interface io.activej.bytebuf.ByteBufs.ByteScanner
      Throws:
      io.activej.common.exception.MalformedDataException
    • getResult

      public int getResult()