Cleaning streaming related methods in C++ version

Signed-off-by: Paulo Roberto Urio <jimmyskull@gmail.com>