aeron-client/src/main/java/io/aeron/command/CounterMessageFlyweight.java
public CounterMessageFlyweight labelBuffer(
        final DirectBuffer labelBuffer, final int labelOffset, final int labelLength)
    {
        buffer.putInt(labelOffset(), labelLength);
        buffer.putBytes(labelBufferOffset(), labelBuffer, labelOffset, labelLength);

        return this;
    }
public CounterMessageFlyweight labelBuffer(
        final DirectBuffer labelBuffer, final int labelOffset, final int labelLength)
    {
        buffer.putInt(labelOffset(), labelLength);
        buffer.putBytes(labelBufferOffset(), labelBuffer, labelOffset, labelLength);

        return this;
    }
Fill the label buffer.

@param labelBuffer containing the mandatory label for the counter.
@param labelOffset within the labelBuffer at which the label begins.
@param labelLength of the label in the labelBuffer.
@return flyweight