Skip to content

PRABHAT.DEV

  • Home
  • About Me

PRABHAT.DEV

  • Home
  • About Me

CString

September 11, 2024 by Prabhat Kashyap

Rust offers various string types, including &str for immutable slices and String for mutable, heap-allocated text. It also provides platform-specific and C-style strings like OsStr, OsString, CString, and CStr. Rust handles text using UTF-8 encoding, requiring proper methods for character access.

Categories Rust, Rust Series Tags &str, CStr, CString, OsStr, OsString, rust, String, strings, text, Unicode, UTF-8

Prabhat.DEV

About Me

My Projects

WIP

© Copyright 2024

Privacy Policy Terms of Service