Skip to content

Commit

Permalink
[CI] Refresh EverParse doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Dzomo, the Everest Yak committed Jan 22, 2024
1 parent 9bc9255 commit 7ee3f8f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
6 changes: 4 additions & 2 deletions everparse/3d-lang.html
Original file line number Diff line number Diff line change
Expand Up @@ -512,8 +512,10 @@ <h3>Singleton arrays of variable size<a class="headerlink" href="#singleton-arra
<ul class="simple">
<li><code class="docutils literal notranslate"><span class="pre">T</span> <span class="pre">f[:byte-size-single-element-array-at-most</span> <span class="pre">n]</span></code></li>
</ul>
<p>similar to the previous form, but where <code class="docutils literal notranslate"><span class="pre">n</span></code> is an upper bound on the
size in bytes.</p>
<p>which describes a field <code class="docutils literal notranslate"><span class="pre">f</span></code> that contains a single element of type
<code class="docutils literal notranslate"><span class="pre">T</span></code> occupying at most <code class="docutils literal notranslate"><span class="pre">n</span></code> bytes, followed by padding bytes to make
up to <code class="docutils literal notranslate"><span class="pre">n</span></code> bytes. This construct thus always consumes exactly <code class="docutils literal notranslate"><span class="pre">n</span></code>
bytes.</p>
<p>We expect to add several other kinds of variable-length array-like
types in the uture.</p>
</div>
Expand Down
6 changes: 4 additions & 2 deletions everparse/_sources/3d-lang.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -374,8 +374,10 @@ A variation is:

* ``T f[:byte-size-single-element-array-at-most n]``

similar to the previous form, but where ``n`` is an upper bound on the
size in bytes.
which describes a field ``f`` that contains a single element of type
``T`` occupying at most ``n`` bytes, followed by padding bytes to make
up to ``n`` bytes. This construct thus always consumes exactly ``n``
bytes.

We expect to add several other kinds of variable-length array-like
types in the uture.
Expand Down
Loading

0 comments on commit 7ee3f8f

Please sign in to comment.