Code Review
/
yangtools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(from:
e9bae1b
)
Add ByteBufUtils.writeUint{8,16,32,64}
03/94403/1
author
Robert Varga
<robert.varga@pantheon.tech>
Mon, 4 Jan 2021 13:32:29 +0000
(14:32 +0100)
committer
Robert Varga
<robert.varga@pantheon.tech>
Mon, 4 Jan 2021 13:32:29 +0000
(14:32 +0100)
Plain ByteBufUtils.write() methods are hiding the width argument,
hence can potentially break binary encodings on type change.
Add explicit methods, so that the intent is documented and actually
breaks when incorrect type is applied.
Change-Id: I26e14048b4d4d44ea5044ff852650b18ca90012f
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
No differences found