ByteBufUtil.equals

Returns {@code true} if and only if the two specified buffers are identical to each other for {@code length} bytes starting at {@code aStartIndex} index for the {@code a} buffer and {@code bStartIndex} index for the {@code b} buffer. A more compact way to express this is: <p> {@code a[aStartIndex : aStartIndex + length] == b[bStartIndex : bStartIndex + length]}

  1. bool equals(ByteBuf a, int aStartIndex, ByteBuf b, int bStartIndex, int length)
    class ByteBufUtil
    static
    bool
    equals
  2. bool equals(ByteBuf bufferA, ByteBuf bufferB)

Meta