Skip to content

Commit

Permalink
Update package.html
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberphone committed Apr 10, 2023
1 parent f0b3664 commit eda1229
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions library/src/org/webpki/cbor/package.html
Original file line number Diff line number Diff line change
Expand Up @@ -278,9 +278,10 @@ <h3 id='diagnostic-notation'>Diagnostic Notation</h3>
See <a href='#floating-point-encoding'>CBOR floating point encoding</a>.
</td></tr>
<tr><td rowspan='4'><code>byte&nbsp;string</code></td>
<td><code>h'</code><i>hex&nbsp;data</i><code>'</code></td><td>3</td>
<td>Byte data provided in hexadecimal notation.</td></tr>
<tr><td><code>b64'</code><i>base64&nbsp;data</i><code>'</code></td><td>3</td>
<td><code>h'</code><i>hex&nbsp;data</i><code>'</code></td><td>3, 6</td>
<td>Byte data provided in hexadecimal notation.
Each byte must be represented by two hexadecimal digits.</td></tr>
<tr><td><code>b64'</code><i>base64&nbsp;data</i><code>'</code></td><td>3, 6</td>
<td>Byte data provided in base64 or base64URL notation.
Padding with <code>'='</code> characters is <i>optional</i>.</td></tr>
<tr><td><code>'</code><i>text</i><code>'</code></td><td>4, 5</td>
Expand Down Expand Up @@ -319,5 +320,6 @@ <h3 id='diagnostic-notation'>Diagnostic Notation</h3>
(<code>'\''</code>, <code>'\"'</code>, <code>'\\'</code>,
<code>'\b'</code>, <code>'\f'</code>, <code>'\n'</code>,
<code>'\r'</code>, <code>'\t'</code>, <code>'\u'</code>).</li>
<li>Zero-length strings (<code>''</code>) return byte strings of length zero.</li>
</ol>
</body>

0 comments on commit eda1229

Please sign in to comment.