This function appends one word of type yw_bindata_word at the end of packet pkt. Word to be appended is taken will contain copy of len bytes pointed by ptr. You should note, that bindata words are to be used mainly for data which are in fact binary, and hasn't got much internal structure, like bitmaps, sound samples etc. Using it for passing data structures is not sign of good style.