public interface IContent : IBytes
Content can represent the value of a topic.
Deprecated: This interface is preserved only for backwards compatibility and is being phased out in favor of specific data types. The only remaining places where it must be used are in some of the IMessaging methods and in the Fetch(String, IFetchStream) interface. In all other cases its use should be avoided - use the superinterface in preference.
Returns the content as a string.
The content as a string created by parsing the bytes as UTF-8.
The byte content is converted to a string using UTF-8 encoding.
Returns the content as an array of bytes.
The internal array of bytes that represents the content.
This actually returns the internal byte array which must not be altered. If this data is to be manipulated in any way, it must first be copied.