Commit 3957912
committed
(wip|[skip ci]): Integrate TextString encoding into CBOR class
- Add support for encoding string data using the `TextString` class within the `CBOR::encode` method.
- Update the CBOR class to handle the `string` type by delegating encoding to `TextString::encode`.
- Keep the `decode` method as a placeholder for future implementation.1 parent a2dc3ab commit 3957912
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
24 | 28 | | |
25 | 29 | | |
26 | 30 | | |
27 | 31 | | |
28 | 32 | | |
29 | 33 | | |
30 | 34 | | |
31 | | - | |
| 35 | + | |
32 | 36 | | |
33 | 37 | | |
0 commit comments