TextCodec

data class TextCodec(var contentType: ContentTypeId = ContentTypeText) : ContentCodec<String>

Constructors

Link copied to clipboard
constructor(contentType: ContentTypeId = ContentTypeText)

Functions

Link copied to clipboard
open override fun decode(content: EncodedContent): String
Link copied to clipboard
open override fun encode(content: String): EncodedContent

Properties

Link copied to clipboard
open override var contentType: ContentTypeId