System_IO::​Stream
UnityObjectLink
System_IO::​Stream

class:/TYPE/System.IO.Stream//, can be loaded from an assetbundle using System_IO::Stream::createfromassetbundle(bundlename,prefabname) /

Parent

UnityObjectLink

Variables
canread
readonly System.Boolean canread
canseek
readonly System.Boolean canseek
cantimeout
readonly System.Boolean cantimeout
canwrite
readonly System.Boolean canwrite
length
readonly System.Int64 length
position
System.Int64 position
readtimeout
System.Int32 readtimeout
system_io::​stream::​null
static readonly System.IO.Stream system_io::stream::null
writetimeout
System.Int32 writetimeout
Functions
close
System.Void Close()
Returns

System.Void

copyto
System.Void CopyTo(
System.IO.Stream destination,
System.Int32 bufferSize
)

System.IO.Stream destination-no documentation

Parameters
destination
System.IO.Stream

no documentation bufferSize -

Returns

System.Void

copyto
System.Void CopyTo(
System.IO.Stream destination
)

System.IO.Stream destination-no documentation

Parameters

destination -

Returns

System.Void

copytoasync
System.Threading.Tasks.Task CopyToAsync(
System.IO.Stream destination
)

System.IO.Stream destination-no documentation

Parameters

destination -

Returns

System.Threading.Tasks.Task

copytoasync
System.Threading.Tasks.Task CopyToAsync(
System.IO.Stream destination,
System.Int32 bufferSize
)

System.IO.Stream destination-no documentation

Parameters
destination
System.IO.Stream

no documentation bufferSize -

Returns

System.Threading.Tasks.Task

dispose
System.Void Dispose()
Returns

System.Void

flushasync
System.Threading.Tasks.Task FlushAsync()
Returns

System.Threading.Tasks.Task

readbyte
System.Int32 ReadByte()
Returns

System.Int32

system_io::​stream::​fromassetbundle
static System.IO.Stream CreateFromAssetBundle(
string bundle,
string objectname
)

Constructor for object from a bundle

Parameters
bundle
string

bundle name

objectname
string

object name with extension

Returns

System.IO.Stream

system_io::​stream::​synchronized
static System.IO.Stream Synchronized(
System.IO.Stream stream
)

System.IO.Stream stream-no documentation

Parameters

stream -

Returns

System.IO.Stream

writeasync
System.Threading.Tasks.Task WriteAsync(
System.Byte[] buffer,
System.Int32 offset,
System.Int32 count
)

System.Byte[] buffer-no documentation

Parameters
buffer
System.Byte[]

no documentation

offset
System.Int32

no documentation count -

Returns

System.Threading.Tasks.Task

writebyte
System.Void WriteByte(
System.Byte value
)

System.Byte value-no documentation

Parameters

value -

Returns

System.Void