what I'd like to do is take this buffer and compare with a static array is possible ?
Sure. Look at the memcmp() function. If the data is character data, and the array is NULL terminated, you could use strcmp().
what I'd like to do is take this buffer and compare with a static array is possible ?
Sure. Look at the memcmp() function. If the data is character data, and the array is NULL terminated, you could use strcmp().