Titanium.Stream.write

Function of Titanium.Stream.
Platform Since
Android 1.7
iPhone 1.7
iPad 1.7

Summary

Async version of write on Titanium.IOStream that takes offset and length

Arguments

Name Type Summary
outputStream Titanium.IOStream

Stream to write to

buffer Titanium.Buffer

Buffer to write from

offset Number

offset to start writing buffer data from

length Number

length of data to write from buffer

resultsCallback Callback<WriteCallbackArgs>

called with result of the write operation

Return Type

void