Commit Graph

5 Commits

Author SHA1 Message Date
Wyatt Hepler
1a96094ce6 Fix copyright notices
- Add missing copright header in conf.py.
- Fix inconsistent copyright notice line breaking.

Change-Id: Ib78f7768643069c49ff986a48a176df9fd06e891
2019-11-27 22:34:02 +00:00
Wyatt Hepler
ce9b952f05 pw_string: StringBuilder utility class
StringBuilder can be used to flexibly and safely build strings in
fixed-size buffers.

Change-Id: Ie4453e1bcd11ef522bb0211304e9cf758ac17827
2019-11-25 18:08:31 +00:00
Wyatt Hepler
38426d7416 pw_string: Handle nullptr C strings
Change-Id: Ifa4c3076b4a6b7f4f1016611601df236bbfb3e26
2019-11-22 01:25:23 +00:00
Wyatt Hepler
190feccb8c Hexadecimal printing function
Add IntToHexString, a simple hexadecimal output function.
PointerToString uses IntToHexString instead of IntToString.

Change-Id: Ib64ab888850d5050da84b4b84a2a279f0381f48f
2019-11-15 21:52:38 +00:00
Wyatt Hepler
58823c1bea pw_string: ToString function
ToString allows writing string representations of arbitrary types to a
buffer.

Change-Id: Ie0e327560847509b03c651bd1697be8bc084b360
2019-11-14 17:58:56 +00:00