cByteBuffer: Added the VarInt and VarUTF8String type reading and writing.

This implements #296.