decoder: handle the tag bodyLength being 0 bytes