<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>EByte on SoftDevStudio.com</title>
    <link>https://softdevstudio.com/tags/ebyte/</link>
    <description>Recent content in EByte on SoftDevStudio.com</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Tue, 03 Nov 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://softdevstudio.com/tags/ebyte/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>EByte Imports Kaitai Struct Formats and Derives ZIP Entry Offsets</title>
      <link>https://softdevstudio.com/ebyte-imports-kaitai-struct-formats-and-derives-zip-entry-offsets/</link>
      <pubDate>Tue, 03 Nov 2026 00:00:00 +0000</pubDate>
      <guid>https://softdevstudio.com/ebyte-imports-kaitai-struct-formats-and-derives-zip-entry-offsets/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://ebyte.org/&#34;&gt;EByte&lt;/a&gt; 0.8.0 adds &lt;code&gt;ebyte import-ksy&lt;/code&gt;, which turns a Kaitai Struct &lt;code&gt;.ksy&lt;/code&gt; description into an EByte schema, so the format can be decoded to editable JSON and written back byte for byte. It only takes what a schema can say. Of the 191 files in the Kaitai gallery, 9 import, among them STL, MBR partition tables, utmp logs and the IVF container. The rest use computed positions, run-time type switches or expressions, and are refused with every reason listed instead of being half translated. The nine were checked value for value against the official Kaitai compiler and runtime on the same samples.&lt;/p&gt;</description>
    </item>
    <item>
      <title>EByte Adds a Diff That Shows Which Fields a Firmware Update Changed</title>
      <link>https://softdevstudio.com/ebyte-adds-a-diff-that-shows-which-fields-a-firmware-update-changed/</link>
      <pubDate>Wed, 21 Oct 2026 00:00:00 +0000</pubDate>
      <guid>https://softdevstudio.com/ebyte-adds-a-diff-that-shows-which-fields-a-firmware-update-changed/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://ebyte.org/&#34;&gt;EByte&lt;/a&gt; 0.5.0 adds &lt;code&gt;ebyte diff&lt;/code&gt;. It decodes two files through the same schema and lists every field that differs, in schema order, with its offset and length in each file. Integers show their old and new values, sizes and checksums the schema derives are marked as derived, and byte fields show only where they first differ, never their contents. It exits 0 when the files are the same and 5 when they differ, so a script can tell the two cases apart. A new fuzz target checks the main promise on arbitrary pairs of files: no changes exactly when the bytes are identical.&lt;/p&gt;</description>
    </item>
    <item>
      <title>EByte Adds Checksums and Edits PNG Files With Every CRC Recomputed</title>
      <link>https://softdevstudio.com/ebyte-adds-checksums-and-edits-png-files-with-every-crc-recomputed/</link>
      <pubDate>Wed, 21 Oct 2026 00:00:00 +0000</pubDate>
      <guid>https://softdevstudio.com/ebyte-adds-checksums-and-edits-png-files-with-every-crc-recomputed/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://ebyte.org/&#34;&gt;EByte&lt;/a&gt; 0.4.0 adds checksums to its schemas. A field can be declared as the CRC-32, Adler-32 or one of three CRC-16 variants of other fields; EByte checks it while decoding and writes it while encoding, after any sizes inside its range. Each algorithm is pinned to its published check value for the bytes 123456789, and a new fuzz target compares every CRC it writes with Go&amp;rsquo;s own &lt;code&gt;hash/crc32&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;The &lt;a href=&#34;https://ebyte.org/ebyte-case-study-editing-a-png-file-with-every-chunk-crc-recomputed/&#34;&gt;case study&lt;/a&gt; used a real PNG made by Pillow. A longer comment and a change from 72 to 300 DPI, edited in the JSON, came out with a new length and two new CRCs, which a separate check with &lt;code&gt;zlib.crc32&lt;/code&gt; confirmed and Pillow read back. A single flipped bit in the pixel data or the comment was reported at the exact chunk&amp;rsquo;s CRC, where Pillow only said the file was broken. The post also shows the limit: pixel data is compressed, so a new width in the header gives a file with correct CRCs that still won&amp;rsquo;t open. The &lt;a href=&#34;https://ebyte.org/schema-library/&#34;&gt;schema library&lt;/a&gt; gained a PNG schema, and its one-file stored ZIP schema now derives both CRC copies.&lt;/p&gt;</description>
    </item>
    <item>
      <title>EByte Adds Floats Bit Fields and Forward Jumps and Writes Files on Windows</title>
      <link>https://softdevstudio.com/ebyte-adds-floats-bit-fields-and-forward-jumps-and-writes-files-on-windows/</link>
      <pubDate>Wed, 21 Oct 2026 00:00:00 +0000</pubDate>
      <guid>https://softdevstudio.com/ebyte-adds-floats-bit-fields-and-forward-jumps-and-writes-files-on-windows/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://ebyte.org/&#34;&gt;EByte&lt;/a&gt; 0.6.0 adds three kinds of field and finishes a Windows gap. Floats come in 32 and 64 bits, and every bit pattern round-trips, NaN payloads and negative zero included. Bit fields pack small numbers into shared bytes and can drive lengths and conditions like any integer. A byte field can now run up to an offset another field declares, which covers the gap between a header and the data it points to. And &lt;code&gt;--output FILE&lt;/code&gt; now works on Windows with the same rule as elsewhere: create a new file, never replace one. CI tests Windows on every push.&lt;/p&gt;</description>
    </item>
    <item>
      <title>EByte Now Works Out Sizes and Offsets When You Edit a WAV or ZIP File</title>
      <link>https://softdevstudio.com/ebyte-now-works-out-sizes-and-offsets-when-you-edit-a-wav-or-zip-file/</link>
      <pubDate>Wed, 21 Oct 2026 00:00:00 +0000</pubDate>
      <guid>https://softdevstudio.com/ebyte-now-works-out-sizes-and-offsets-when-you-edit-a-wav-or-zip-file/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://ebyte.org/&#34;&gt;EByte&lt;/a&gt; 0.3.0 removes the chore its earlier case studies kept running into: changing the length of anything in a file used to mean fixing a size field somewhere else by hand. A schema can now say where a number comes from (the length of a field, the length of a run of fields, where a field starts, or how many blocks a repeat holds, plus a constant) and the encoder writes it. There&amp;rsquo;s no general arithmetic. Decoding checks those numbers too, so a file with a stale size fails at that field instead of being quietly corrected on the way back out.&lt;/p&gt;</description>
    </item>
    <item>
      <title>EByte Runs in the Browser</title>
      <link>https://softdevstudio.com/ebyte-runs-in-the-browser/</link>
      <pubDate>Wed, 21 Oct 2026 00:00:00 +0000</pubDate>
      <guid>https://softdevstudio.com/ebyte-runs-in-the-browser/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://ebyte.org/&#34;&gt;EByte&lt;/a&gt; 0.7.0 adds a WebAssembly build of the same library, published with every release as &lt;code&gt;ebyte-wasm.zip&lt;/code&gt;. It powers a new &lt;a href=&#34;https://ebyte.org/demo/&#34;&gt;demo page&lt;/a&gt; on ebyte.org where anyone can open a binary file, inspect every field with its byte offset, edit the decoded JSON, encode a new file and compare two files, all inside the page. Nothing is uploaded; there&amp;rsquo;s no server behind it.&lt;/p&gt;&#xA;&lt;p&gt;The &lt;a href=&#34;https://ebyte.org/ebyte-case-study-editing-a-wav-title-in-the-browser/&#34;&gt;case study&lt;/a&gt; used the demo on a WAV written by ffmpeg. Lengthening its title in the browser updated the RIFF and chunk sizes, ffprobe read the new title, the audio was unchanged, and the file had exactly the same bytes as the command line&amp;rsquo;s encode of the same JSON. A cut file was reported at the same field and offset as the command line reports it, and a 10.5 MB WAV took about a second and a half to re-encode on the page.&lt;/p&gt;</description>
    </item>
    <item>
      <title>EByte Adds Repeating Blocks to Read Every WAV Chunk and Every ZIP Entry</title>
      <link>https://softdevstudio.com/ebyte-adds-repeating-blocks-to-read-every-wav-chunk-and-every-zip-entry/</link>
      <pubDate>Tue, 20 Oct 2026 00:00:00 +0000</pubDate>
      <guid>https://softdevstudio.com/ebyte-adds-repeating-blocks-to-read-every-wav-chunk-and-every-zip-entry/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://ebyte.org/&#34;&gt;EByte&lt;/a&gt; 0.2.0 adds the first feature from its approved plan after 0.1.1: repeating blocks. A schema can now say &amp;ldquo;read these fields again and again until the file ends&amp;rdquo;, or &amp;ldquo;until the next bytes stop matching this signature&amp;rdquo;, with no count stored anywhere. That covers a lot of real formats. The new &lt;a href=&#34;https://github.com/softdevstudio/ebyte/blob/main/schemas/riff-wave.schema.json&#34;&gt;riff-wave schema&lt;/a&gt; reads every chunk of a WAV file in whatever order it comes, and the new &lt;a href=&#34;https://github.com/softdevstudio/ebyte/blob/main/schemas/zip.schema.json&#34;&gt;zip schema&lt;/a&gt; reads archives with any number of files. Both are in the &lt;a href=&#34;https://ebyte.org/schema-library/&#34;&gt;schema library&lt;/a&gt; with real sample files that round-trip byte for byte on every change.&lt;/p&gt;</description>
    </item>
    <item>
      <title>EByte Joins the Studio With One Schema for Reading, Writing and Debugging Binary Files</title>
      <link>https://softdevstudio.com/ebyte-joins-the-studio-with-one-schema-for-reading-writing-and-debugging-binary-files/</link>
      <pubDate>Tue, 20 Oct 2026 00:00:00 +0000</pubDate>
      <guid>https://softdevstudio.com/ebyte-joins-the-studio-with-one-schema-for-reading-writing-and-debugging-binary-files/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://ebyte.org/&#34;&gt;EByte&lt;/a&gt;, the studio&amp;rsquo;s twenty-fifth project, is a Go library and one command-line tool for binary file formats. You describe a format once in a JSON schema, and the same description &lt;a href=&#34;https://ebyte.org/ebyte-launches-one-schema-for-reading-and-writing-binary-files/&#34;&gt;reads a file into editable JSON, writes it back and traces it field by field&lt;/a&gt;. The rule it&amp;rsquo;s built around is easy to check: decode a file, encode it unchanged, and every byte comes back, padding and reserved fields included. When a file doesn&amp;rsquo;t match, the tool prints one line of JSON with the field, the byte offset and what it expected, and never the file&amp;rsquo;s contents.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
