Add byte buffer

This adds a bpp method to `ws_buffer`
Was this member defined beforehand?