Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
Ti
Stream
Interface Stream
Index
Properties
MODE_APPEND
MODE_READ
MODE_WRITE
Methods
createStream
pump
read
readAll
write
writeStream
Properties
public
MODE_APPEND
:
number
public
MODE_READ
:
number
public
MODE_WRITE
:
number
Methods
public
createStream
(
params
:
CreateStreamArgs
)
:
IOStream
Parameters
params:
CreateStreamArgs
Returns
IOStream
public
pump
(
inputStream
:
IOStream
, handler
:
(...args: any[]) => any
, maxChunkSize
:
number
, isAsync
?:
boolean
)
Parameters
inputStream:
IOStream
handler:
(...args: any[]) => any
maxChunkSize:
number
isAsync?:
boolean
optional
public
read
(
sourceStream
:
IOStream
, buffer
:
Buffer
, offset
?:
number
, length
?:
number
, resultsCallback
?:
(...args: any[]) => any
)
Parameters
sourceStream:
IOStream
buffer:
Buffer
offset?:
number
optional
length?:
number
optional
resultsCallback?:
(...args: any[]) => any
optional
public
readAll
(
sourceStream
:
IOStream
, buffer
?:
Buffer
, resultsCallback
?:
(...args: any[]) => any
)
:
any
Parameters
sourceStream:
IOStream
buffer?:
Buffer
optional
resultsCallback?:
(...args: any[]) => any
optional
Returns
any
public
write
(
outputStream
:
IOStream
, buffer
:
Buffer
, offset
?:
number
, length
?:
number
, resultsCallback
?:
(...args: any[]) => any
)
Parameters
outputStream:
IOStream
buffer:
Buffer
offset?:
number
optional
length?:
number
optional
resultsCallback?:
(...args: any[]) => any
optional
public
writeStream
(
inputStream
:
IOStream
, outputStream
:
IOStream
, maxChunkSize
:
number
, resultsCallback
?:
(...args: any[]) => any
)
Parameters
inputStream:
IOStream
outputStream:
IOStream
maxChunkSize:
number
resultsCallback?:
(...args: any[]) => any
optional
Globals
Global
Ti
Ti.Android
Ti.Android.Calendar
Ti.App
Ti.App.iOS
Ti.Calendar
Ti.Cloud
Ti.Contacts
Ti.Contacts.Tizen
Ti.Database
Ti.Facebook
Ti.Filesystem
Ti.Geolocation
Ti.Geolocation.Android
Ti.Map
Ti.Media
Ti.Network
Ti.Network.Socket
Ti.Platform
Ti.UI
Ti.UI.Android
Ti.UI.MobileWeb
Ti.UI.iOS
Ti.UI.iPad
Ti.UI.iPhone
Ti.XML
bubbleParent
buildDate
buildHash
userAgent
version
Accelerometer
BlobStream
BufferStream
Module
API
Analytics
Blob
Buffer
CloudPush
Codec
Event
Gesture
IOStream
Locale
Proxy
Stream
MODE_APPEND
MODE_READ
MODE_WRITE
createStream
pump
read
readAll
write
writeStream
Utils
Yahoo
addEventListener
applyProperties
createBuffer
fireEvent
getBubbleParent
getBuildDate
getBuildHash
getUserAgent
getVersion
include
removeEventListener
setBubbleParent
setUserAgent