returns a binarydata object which is a stream that encodes the given message just like #tohawkularformat basicmessage does but also packages the giveninput stream as extra data with the json message . the returned object can be used to deserialize the msg and extra data via #deserialize inputstream . concode_field_sep String API_PKG concode_field_sep String[] fromHawkularFormat concode_elem_sep T deserialize concode_elem_sep BasicMessageWithExtraData<T> deserialize
BinaryData function ( BasicMessage arg0 , InputStream arg1 ) { String loc0 = toHawkularFormat ( arg0 ) ; return new BinaryData ( loc0 . getBytes ( ) , arg1 ) ; }