More refactoring in move to extracting ring buffer size.
Added Read/Write of UTF8 and unit tests.