Added OutputBuffer class

- Byte array backed buffer
- Can serialise common types
- Supports both big and little endianess