Fex
Gold Supporter
|
File& putUID(UID id)
There is
Code:
UID getUID () {UID i; T>>i; return i;} // read UID
but no function like
Code:
File& putUID (UID f) {T<<f; return T;}
Obviously I can write the raw data of the UID using put, but it would be nice to have an EE API function to do this for aesthetics, given there is a getUID function for file storage.
(This post was last modified: 05-27-2013 12:09 AM by Fex.)
|
|
05-27-2013 12:07 AM |
|
Esenthel
Administrator
|
RE: File& putUID(UID id)
Why not just use f<<UID(..) ?
|
|
05-27-2013 01:04 PM |
|
Fex
Gold Supporter
|
RE: File& putUID(UID id)
Ya your right that works, its just an aesthetic thing. I just thought it was weird you had matching put* functions for all the types that you have defined get* functions for, except UID.
|
|
05-27-2013 06:20 PM |
|