use unsigned int64 in streams, stream write should use const void*, add bytebeat example