<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>IO on Nalar</title>
    <link>https://nalar.dev/tags/io/</link>
    <description>Recent content in IO on Nalar</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Tue, 01 Sep 2026 00:00:00 +0700</lastBuildDate>
    <atom:link href="https://nalar.dev/tags/io/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Streaming Pipelines with io.Reader and io.Writer in Go</title>
      <link>https://nalar.dev/streaming-pipelines-with-io-reader-and-io-writer/</link>
      <pubDate>Tue, 01 Sep 2026 00:00:00 +0700</pubDate>
      <guid>https://nalar.dev/streaming-pipelines-with-io-reader-and-io-writer/</guid>
      <description>&lt;p&gt;Go&amp;rsquo;s &lt;code&gt;io.Reader&lt;/code&gt; and &lt;code&gt;io.Writer&lt;/code&gt; interfaces are intentionally tiny, but they enable a large class of streaming programs. Files, HTTP bodies, compression streams, hashes, encoders, sockets, and in-memory buffers can all participate in the same pipeline without loading the entire payload into memory.&lt;/p&gt;&#xA;&lt;p&gt;The key design principle is to pass streams through components instead of converting them to &lt;code&gt;[]byte&lt;/code&gt; or &lt;code&gt;string&lt;/code&gt; at every boundary.&lt;/p&gt;&#xA;&lt;h2 id=&#34;start-with-the-two-core-interfaces&#34;&gt;Start with the two core interfaces&lt;/h2&gt;&#xA;&lt;p&gt;The standard library defines the essential contracts as methods equivalent to:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
