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
Link copied to clipboard
open override fun fallback(content: String): String?
Link copied to clipboard
open override fun shouldPush(content: String): Boolean

Properties

Link copied to clipboard
open override var contentType: ContentTypeId