aws_smithy_types

Module str_bytes

Source
Expand description

UTF-8 string byte buffer representation with validation amortization.

Structsยง

  • UTF-8 string byte buffer representation with validation amortization. When StrBytes is constructed from a &str or String, its underlying bytes are assumed to be valid UTF-8. Otherwise, if constructed from a byte source, the construction will be fallible.