Avoid reading an unused byte after the buffer