Class CapabilityUtil


  • public final class CapabilityUtil
    extends Object
    • Method Detail

      • formatCapability

        public static void formatCapability​(int code,
                                            io.netty.buffer.ByteBuf value,
                                            io.netty.buffer.ByteBuf buffer)
        Adds header to capability value.
        Parameters:
        code - type of the capability
        value - capability value
        buffer - ByteBuf where the capability will be copied with its header