# Binary pattern matching when input is a stream

**URL:** <https://forum.elixirforum.com/t/binary-pattern-matching-when-input-is-a-stream/4286>\
**Category:** Questions\
**Created:** [March 24, 2017, 6:30pm UTC](https://forum.elixirforum.com/t/binary-pattern-matching-when-input-is-a-stream/4286 "2017-03-24T18:30:49Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![jeramyRR](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/jeramyrr/32/722_2.png) [@jeramyRR](https://forum.elixirforum.com/u/jeramyRR)\
**Post date:** [March 24, 2017, 8:12pm UTC](https://forum.elixirforum.com/t/binary-pattern-matching-when-input-is-a-stream/4286/9 "2017-03-24T20:12:03Z")

</div>

The problem is that I have no idea where to set the chunk size for file.stream. As you can see this spec is all over the place.

---

_[View the full topic](https://forum.elixirforum.com/t/binary-pattern-matching-when-input-is-a-stream/4286)._
