Operate stream buffer data (like C style)