Add a ByteBufUtils class

This writes/reads uncommon types from ByteBufs and is a nice helper for
projects with these unique requirements.

Signed-off-by: Chris Sanders <zidane@outlook.com>