Finished adding streams support.
Use char array instead of pointer.