[MDSAL-509] Add int-based Ipv4Address{NoZone} methods to IetfInetUtil Created: 06/Jan/20 Updated: 06/Jan/20 Resolved: 06/Jan/20 |
|
| Status: | Resolved |
| Project: | mdsal |
| Component/s: | models |
| Affects Version/s: | None |
| Fix Version/s: | 6.0.0, 4.0.9, 5.0.7 |
| 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 |
|
When Ipv4Addresses are interfaced with external systems through Netty it would be nice if we could treat them as plain 32bit ints, so that ByteBuf.writeInt() can be used instead of ByteBuf.writeBytes(). Add utility methods to allow this to happen. |
| Comments |
| Comment by Robert Varga [ 06/Jan/20 ] |
|
Actually we need the same thing for DottedQuad. |