Here in the following example the @Until
controller is associated with the
the @Utf8
decorator.
class Protocol {
@Until(EOF)
@Utf8
foo: string
}
The typical use-case would be to have a generic space of a pre-defined size with a an utf encoded string.
class Protocol {
@Size(64)
@Utf8
foo: string
}
@Utf8
defines the decorated property as an unsigned 8 bit integer encoded as an utf-8 string.