Use Stream insteat of (char *, size_t).