Update of counted buffer, not working yet
added common interface for the buffer
netbuffer is coming