[fpc-pascal] Pipe vs Memory buffer.

fredvs fiens at hotmail.com
Thu Jan 26 02:20:18 CET 2017


>That will never work. 

> OP_WARN_UNUSED_RESULT OggOpusFile *op_test_memory(const unsigned char
> *_data, size_t _size,int *_error); 

> expects a memory buffer; you cannot pass it a stream. 

Ha, ok.

And how to convert a pipe into a  memory buffer ?

Thanks.

Fre;D



-----
Many thanks ;-)
--
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Pipe-vs-Memory-buffer-tp5727435p5727437.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.



More information about the fpc-pascal mailing list