public GioStream(IOStream stream) { this.stream = stream; can_read = true; can_write = true; can_seek = stream is Seekable && (stream as Seekable).CanSeek; }