Class AbEthDriver.ByteLengthEstimator

java.lang.Object
org.apache.plc4x.java.abeth.AbEthDriver.ByteLengthEstimator
All Implemented Interfaces:
ToIntFunction<io.netty.buffer.ByteBuf>
Enclosing class:
AbEthDriver

public static class AbEthDriver.ByteLengthEstimator extends Object implements ToIntFunction<io.netty.buffer.ByteBuf>
Estimate the Length of a Packet
  • Constructor Details

    • ByteLengthEstimator

      public ByteLengthEstimator()
  • Method Details

    • applyAsInt

      public int applyAsInt(io.netty.buffer.ByteBuf byteBuf)
      Specified by:
      applyAsInt in interface ToIntFunction<io.netty.buffer.ByteBuf>