System_IO::​MemoryStream
UnityObjectLink
System_IO::​MemoryStream

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

Parent

UnityObjectLink

Variables
canread
readonly System.Boolean canread
canseek
readonly System.Boolean canseek
canwrite
readonly System.Boolean canwrite
capacity
System.Int32 capacity
length
readonly System.Int64 length
position
System.Int64 position
Functions
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

flush
System.Void Flush()
Returns

System.Void

getbuffer
System.Byte[] GetBuffer()
Returns

System.Byte[]

read
System.Int32 Read(
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.Int32

readbyte
System.Int32 ReadByte()
Returns

System.Int32

setlength
System.Void SetLength(
System.Int64 value
)

System.Int64 value-no documentation

Parameters

value -

Returns

System.Void

system_io::​memorystream::​create
static System.IO.MemoryStream Create ()

Constructor replaces new;

Returns

System.IO.MemoryStream

system_io::​memorystream::​create
static System.IO.MemoryStream Create (
System.Int32 capacity
)

Constructor replaces new;

Parameters
capacity
System.Int32

no description

Returns

System.IO.MemoryStream

system_io::​memorystream::​fromassetbundle
static System.IO.MemoryStream 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.MemoryStream

toarray
System.Byte[] ToArray()
Returns

System.Byte[]

write
System.Void Write(
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.Void

writebyte
System.Void WriteByte(
System.Byte value
)

System.Byte value-no documentation

Parameters

value -

Returns

System.Void

writeto
System.Void WriteTo(
System.IO.Stream stream
)

System.IO.Stream stream-no documentation

Parameters

stream -

Returns

System.Void