How to Convert MovieTexture to Byte?

In my project at school, I need to load an .ogg file from a local file system then upload it into a web server. But, base on samples on the net, I guess before I can upload the MovieTexture file, first I need to convert it into byte. So my question is how to convert MovieTexture to Byte?

Btw, I already google the issue, but can't find an answer so far. Any help will be appreciated.


If you're happy to just load the file with System.IO:

var bytes = System.IO.File.ReadAllBytes("file.ogg");

Alternatively, use the WWW class. It has a bytes member you can get the bytes from.

Otherwise I don't know how to get the bytes of a MovieTexture.