Skip to content

EncodeViolation

[Source]

Returned when an encode operation fails — typically because a value does not fit the codec's constraints (e.g., a U8 value exceeding a 4-bit field) or because the output is not byte-aligned.

class val EncodeViolation

Constructors

create

[Source]

new val create(
  message': String val)
: EncodeViolation val^

Parameters

Returns


Public Functions

message

[Source]

fun box message()
: String val

Returns


string

[Source]

fun box string()
: String iso^

Returns