Crate str_buf

Crate str_buf 

Source
Expand description

Static string buffer

Features:

  • serde Enables serde serialization. In case of overflow, deserialize fails.
  • ufmt-write Enables ufmt uWrite implementation.

Structs§

StrBuf
Stack based string.

Enums§

StrBufError
StrBuf conversion error

Constants§

CAPACITY_U8
Max capacity to use length of size 1 byte
CAPACITY_U16
Max capacity to use length of size 2 byte

Functions§

capacity
Calculates necessary buffer capacity to fit provided number of bytes