// make sure the entire buffer is still there we started with
Assert.assertEquals(0, buffer0.readableBytes());
// another case with an first extra byte and last extra byte
buffer0 = BufferHelper.createBuffer("39343439353133363139323000FF");
buffer0.readByte(); // skip 1 byte
str0 = ChannelBufferUtil.readNullTerminatedString(buffer0);
Assert.assertEquals("44951361920", str0);
// make sure the entire buffer is still there we started with
Assert.assertEquals(1, buffer0.readableBytes());