[haiku-development] Re: Using the Flatten() function
- From: Jérôme Duval <korli@xxxxxxxxxxxxxxxx>
- To: haiku-development@xxxxxxxxxxxxx
- Date: Fri, 31 Jul 2009 16:38:01 +0200
2009/7/31 Yashasvi A.C. <yashasviac@xxxxxxxxx>
>
> So, you mean I open a file in a read-write format and then use the flatten
> function. How does the flatten() know which file it needs to stream the data
> to?
The code looks like:
BFile file;
if (file.SetTo(path.Path(), B_WRITE_ONLY | B_CREATE_FILE) == B_OK) {
msg.Flatten(&file);
}
Bye,
Jérôme
- References:
- [haiku-development] Using the Flatten() function
- From: Yashasvi A.C.
- [haiku-development] Re: Using the Flatten() function
- From: Axel Dörfler
- [haiku-development] Re: Using the Flatten() function
- From: Yashasvi A.C.
- [haiku-development] Using the Flatten() function
Other related posts:
- » [haiku-development] Using the Flatten() function - Yashasvi A.C.
- » [haiku-development] Re: Using the Flatten() function - Stephan Assmus
- » [haiku-development] Re: Using the Flatten() function - PulkoMandy
- » [haiku-development] Re: Using the Flatten() function - Jonas Sundström
- » [haiku-development] Re: Using the Flatten() function - Axel Dörfler
- » [haiku-development] Re: Using the Flatten() function - Yashasvi A.C.
- » [haiku-development] Re: Using the Flatten() function - Rene Gollent
- » [haiku-development] Re: Using the Flatten() function - Jérôme Duval
- » [haiku-development] Re: Using the Flatten() function - Stephan Assmus
- » [haiku-development] Re: Using the Flatten() function - Yashasvi A.C.
- » [haiku-development] Re: Using the Flatten() function - pete . goodeve