@Override
    public int length() {
        return bytesInBuffer;
    }
@see io.apiman.gateway.engine.io.IApimanBuffer#length()
gateway/engine/core/src/main/java/io/apiman/gateway/engine/io/ByteBuffer.java