diff --git a/infra.bs b/infra.bs index b844aa5..994adb6 100644 --- a/infra.bs +++ b/infra.bs @@ -442,8 +442,11 @@ JavaScript null value. [[!ECMA-262]]

Bytes

-

A byte is a sequence of eight bits, represented as a double-digit hexadecimal -number in the range 0x00 to 0xFF, inclusive. +

A byte is a sequence of eight bits and is represented as "0x" +followed by two ASCII upper hex digits, in the range 0x00 to 0xFF, inclusive. A byte's +value is its underlying number. + +

0x40 is a byte whose value is 64.

An ASCII byte is a byte in the range 0x00 (NUL) to 0x7F (DEL), inclusive. As illustrated, an ASCII byte, excluding 0x28 and 0x29, may be followed by the @@ -535,14 +538,17 @@ contains, in the range 0x61 (a) to 0x7A (z), inclusive, by 0x20.

To isomorphic decode a byte sequence input, return a string whose code point length is equal to input's -length and whose code points have the same values as -input's bytes, in the same order. +length and whose code points have the same +values as the values of input's bytes, in +the same order.

Code points

A code point is a Unicode code point and is -represented as a four-to-six digit hexadecimal number, typically prefixed with "U+". +represented as "U+" followed by four-to-six ASCII upper hex digits, in the range U+0000 to +U+10FFFF, inclusive. A code point's value is its underlying +number.

A code point may be followed by its name, by its rendered form between parentheses when it is not U+0028 or U+0029, or by both. Documents using the Infra Standard are encouraged to follow @@ -759,8 +765,9 @@ ordering will not match any particular alphabet or lexicographic order, particul

  • Assert: input contains no code points greater than U+00FF.

  • Return a byte sequence whose length is equal to - input's code point length and whose bytes have the same values - as input's code points, in the same order. + input's code point length and whose bytes have the same + values as the values of input's + code points, in the same order.