mirror of
https://github.com/micropython/micropython.git
synced 2025-09-05 17:30:41 +02:00
This cleans up vstr so that it's a pure "variable buffer", and the user can decide whether they need to add a terminating null byte. In most places where vstr is used, the vstr did not need to be null terminated and so this patch saves code size, a tiny bit of RAM, and makes vstr usage more efficient. When null termination is needed it must be done explicitly using vstr_null_terminate.
This directory contains standard, low-level C libraries with emphasis on being independent and efficient. They can be used by any port.