It was never just for drivers. Most of what you use in high-level languages is just syntactical sugar for things that might take three lines in C instead of one line in your usual language.
Three uncorrelated lines, two of which take a buffer, length pair which is also
uncorrelated, calling something with undefined behavior if the buffer and length aren't the correct pairing.