[FIX] used memmove
[FEATURE] first version of a buffer streambuf