[YANGTOOLS-1033] Add Uint conversion methods Created: 13/Oct/19 Updated: 10/Apr/22 Resolved: 13/Oct/19 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.0.2 |
| Type: | Improvement | Priority: | Medium |
| Reporter: | Robert Varga | Assignee: | Robert Varga |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Some downstreams are converting from Uint16 to Uint8, forcing them to use constructs like: Uint8 foo; Uint16 bar = Uint16.valueOf(foo); Provide conversion methods like toUint16() so that the ergonomics is improved. |