SET_META is used to set meta data for a specific stream. == Data Structure == === Version 0 === ||= Offset =||= Size/Type =||= Meaning =|| ||0 ||uint8 ||Version (Always zero) || ||1 ||uint8 ||Update Mode || ||2 ||uint8 ||Metadata type, see [[Specs/MetaValues]] || ||3 ||uint8 ||Length of Key with a maximum of 32 || ||4 ||uint8 ||Length of Value || ||5 ||string ||Key name || ||... ||string ||Value || ==== Update Mode ==== ||= Name =||= ID =||= Meaning =|| ||SET ||0 ||Set the value for the given key. All previous values for that key are discarded. || ||ADD ||1 ||Add a value for the given key. All previous values for that key are kept. || ||DELETE ||2 ||Delete a value for the given key. || ||CLEAR ||3 ||Clear out all meta data. Key MUST be set to NONE and value must be empty (0 bytes long). || ||FINALIZE ||4 ||Inform the peer that all changes have been done and the result should become committed/active. ||