FIND YOUR NEXT FEW LINES
Results for “Strings & byte buffers”
Small, practical examples. Search by task or narrow things down below.
195 snippets foundClear filters
Validate a finite numeric value without coercion
TypeScript: Number.isFinite rejects numeric strings as well as NaN and infinity.
TypeScript✓ Tested
Validate a small stored payload with a checksum
Arduino / C: Store a checksum with the payload and reject a changed byte.
Arduino / C✓ Tested
Write and read a setting in EEPROM
Persist one byte using the update operation.
EEPROM✓ Tested