-
-
Notifications
You must be signed in to change notification settings - Fork 178
Commit d9cca99
committed
uefi-raw: Add Char8/Char16
These definitions are just type aliases, unlike the more restrictive newtypes in
the `uefi` package. In particular, the `uefi` package does not allow `Char16` to
be created for surrogate pair characters. This is more restrictive than what
UEFI actually specifies though; it says that `Char16` is _usually_ UCS-2, but
particular uses may allow other encodings. So for `uefi-raw`, just treat
`Char16` as numbers that can hold any `u16` value.1 parent 82e73e0 commit d9cca99
1 file changed
+15
-0
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
29 | + | ||
30 | + | ||
31 | + | ||
32 | + | ||
33 | + | ||
34 | + | ||
35 | + | ||
36 | + | ||
37 | + | ||
38 | + | ||
39 | + | ||
40 | + | ||
41 | + | ||
42 | + | ||
43 | + | ||
29 | 44 |
| |
30 | 45 |
| |
31 | 46 |
| |
|
0 commit comments