# StdStream
<span class="source-link">[[Source]](src/builtin/std_stream.md#L-0-45)</span>

Asynchronous access to stdout and stderr. The constructors are private to
ensure that access is provided only via an environment.


```pony
actor tag StdStream
```

## Public Behaviours

### print
<span class="source-link">[[Source]](src/builtin/std_stream.md#L-0-64)</span>


Print some bytes and insert a newline afterwards.


```pony
be print(
  data: ByteSeq)
```
#### Parameters

*   data: [ByteSeq](builtin-ByteSeq.md)

---

### write
<span class="source-link">[[Source]](src/builtin/std_stream.md#L-0-70)</span>


Print some bytes without inserting a newline afterwards.


```pony
be write(
  data: ByteSeq)
```
#### Parameters

*   data: [ByteSeq](builtin-ByteSeq.md)

---

### printv
<span class="source-link">[[Source]](src/builtin/std_stream.md#L-0-76)</span>


Print an iterable collection of ByteSeqs.


```pony
be printv(
  data: ByteSeqIter val)
```
#### Parameters

*   data: [ByteSeqIter](builtin-ByteSeqIter.md) val

---

### writev
<span class="source-link">[[Source]](src/builtin/std_stream.md#L-0-84)</span>


Write an iterable collection of ByteSeqs.


```pony
be writev(
  data: ByteSeqIter val)
```
#### Parameters

*   data: [ByteSeqIter](builtin-ByteSeqIter.md) val

---

### flush
<span class="source-link">[[Source]](src/builtin/std_stream.md#L-0-92)</span>


Flush any data out to the os (ignoring failures).


```pony
be flush()
```

---

