[feat] added getBytes method to stream which doesn't move cursor