add `str::as_bytes`