add annotation for endianconv