I am confused. As I self-study c++ I come across "streams" , "streamstreams" , "buffers" , "protocol buffers".
If I just load a data file that has alphas, digits, puncts, & white spaces into memory, am I using buffers
or protocal buffers?
What is the basic difference between the two? What is the difference between "streams" & "streamstreams"
and the difference between "buffers" & "protocol buffers"?
I've googled, but what I read only confused me. They all seem to be the same.
"Protocol Buffers are a serialization format with an interface description language developed by Google. The original Google implementation for C++, Java and Python is available under a free software, open source license. Various other language implementations are either available or in development."[1]
Buffer:
"In computer science, a buffer is a region of a physical memory storage used to temporarily hold data while it is being moved from one place to another. [...] A buffer is primarily used for input, output, and sometimes very temporary storage of data that is either enroute between other media or data that may be modified in a non-sequential manner before it is written (or read) in a sequential manner."[2]