[commit: base] master: Document invariants on mkText{Decoder, Encoder} (54a0b49)