Class OpcuaPlcDriver.ByteLengthEstimator

  • All Implemented Interfaces:
    ToIntFunction<io.netty.buffer.ByteBuf>
    Enclosing class:
    OpcuaPlcDriver

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

      • ByteLengthEstimator

        public ByteLengthEstimator()
    • Method Detail

      • applyAsInt

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