previous up next     contents index
Next: wxMediaStreamIn::GetFixed Up: wxMediaStreamIn: wxObject Previous: wxMediaStreamIn::operator>>

wxMediaStreamIn::Get

wxMediaStreamIn& Get (long *n, char *v)

wxMediaStreamIn& Get (long& v)

wxMediaStreamIn& Get (short& v)

wxMediaStreamIn& Get (int& v)

wxMediaStreamIn& Get (char& v)

wxMediaStreamIn& Get (float& v)

wxMediaStreamIn& Get (double& v)

Reads data from the stream.

In the first form, the number at n must be initially filled with the size of the buffer v; on exit, it will be filled with the number of characters actually read. The data is typed as a string (although there may be embedded null characters), and if the data was written as a string, the null-terminator will be intact.

An attempt to read from a bad stream will return 0 values.



PLT