Fixed strange differents between coding and decoding CString in ByteBuffer class.

The trouble is described here: #6 

Signed-off-by: Vasiliy Vazhesov <vasiliy.vazhesov@gmail.com>