# \#channels

**URL:** https://discuss.ocaml.org/tag/channels/309.md

[Latest](https://discuss.ocaml.org/latest.md) · [Categories](https://discuss.ocaml.org/categories.md) · [Tags](https://discuss.ocaml.org/tags.md)

---

## [【Q】fd, channel, flush & buffer](https://discuss.ocaml.org/t/q-fd-channel-flush-buffer/11737)

<div class="topic-metadata">

**Author:** [@anzhi0708](https://discuss.ocaml.org/u/anzhi0708)\
**Replies:** 1\
**Last updated:** [March 21, 2023, 8:35am UTC](https://discuss.ocaml.org/t/q-fd-channel-flush-buffer/11737 "2023-03-21T08:35:54Z")

</div>

Hello! Thanks to you guys’ support, I’m getting more and more comfortable with coding in OCaml! I need to copy & paste text from raw PDF files for my homework; you might already know that when you do that, random newlin…

---

## [Is there any way to create an in\_channel?](https://discuss.ocaml.org/t/is-there-any-way-to-create-an-in-channel/7145)

<div class="topic-metadata">

**Author:** [@zhtprog](https://discuss.ocaml.org/u/zhtprog)\
**Replies:** 15\
**Last updated:** [January 25, 2021, 8:07pm UTC](https://discuss.ocaml.org/t/is-there-any-way-to-create-an-in-channel/7145 "2021-01-25T20:07:50Z")

</div>

Some packages are hardcoded to use in\_channel (such as jsonm and ezjsonm @avsm ) even though they only use the input function for buffered io. I would like to read from a gzipped file and am looking at using camlzip. But…

---

## [\[ANN\] first release of lz4-chans](https://discuss.ocaml.org/t/ann-first-release-of-lz4-chans/3818)

<div class="topic-metadata">

**Author:** [@UnixJunkie](https://discuss.ocaml.org/u/UnixJunkie)\
**Replies:** 2\
**Last updated:** [May 17, 2019, 7:53am UTC](https://discuss.ocaml.org/t/ann-first-release-of-lz4-chans/3818 "2019-05-17T07:53:25Z")

</div>

Dear OCamlers, It is my pleasure to announce the first release of lz4\_chans: You can use them as drop-in replacement for the channels provided by the stdlib: (\*\* open/close binary channels, with LZ4-compression …
