Add byte-buffer handling assertions when decoding 93/58693/1
authorfkrzywka <filip.krzywka@nokia.com>
Wed, 4 Jul 2018 12:46:57 +0000 (14:46 +0200)
committerPiotr Jaszczyk <piotr.jaszczyk@nokia.com>
Thu, 2 Aug 2018 11:53:11 +0000 (13:53 +0200)
commit1ffcd293e43b0ca5e18784521b04376a65119690
treeadb231d2c3163350b383646ac077ee3d9982a0b5
parentf8a9a10a75bf139203fe9ea48a01708c7bda0781
Add byte-buffer handling assertions when decoding

ByteBuffer reader index should be reset in case of failed decoding
of wire frame, as parsing might be retried when more bytes arrive

Change-Id: I6dcb5c94c8cffba969f572fca8bbb728ea9500bd
Signed-off-by: fkrzywka <filip.krzywka@nokia.com>
Issue-ID: DCAEGEN2-601
hv-collector-domain/src/test/kotlin/org/onap/dcae/collectors/veshv/domain/WireFrameCodecsTest.kt