mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
35943e7beb
- Extract null byte check to function. - Avoid string allocation if null byte is included. - Use `str_new` instead of `mrb_str_dup` + `mrb_str_modify`