fixed isTypeWStream error, places alias this on big and little wstreams , added a buffering option to big and little endian streams