pub fn read_text(payload: &[u8]) -> Result<String, CelerisError>Expand description
Decodes a UTF-8 payload. It fails with CelerisError::Configuration when
the payload is not valid UTF-8.
pub fn read_text(payload: &[u8]) -> Result<String, CelerisError>Decodes a UTF-8 payload. It fails with CelerisError::Configuration when
the payload is not valid UTF-8.