Character Strings

Carbon TypeDescriptionSizenull-ValueMarker
stringa (Pascal) character string of n charactersn bytesnull[s]

Encoding as Field Value

[s](n) <character-string>
DescriptionSizeMarkerPayload
a n-char string1 + l + n bytes[s] (string)(n) length (l byte), n chars

Example

JSON snippet

["Hello", "World", "!"]

A (compacted) Carbon file, which encodes the JSON array as array of character-string values.

[[] [s](5)[Hello] [s](5)[World] [s](1)[!] []]

Encoding as Column Value

Character strings are not supported for column containers.