W3cubDocs

/Haxe C#

MemoryStream

package cs.system.io

extends StreamMarshalByRefObject

@:libType@:csNative@:native("System.IO.MemoryStream") Available on cs

Constructor

@:final @:overload new ()

@:final @:overload new (buffer:NativeArray<UInt8>, index:Int, count:Int, writable:Bool, publiclyVisible:Bool)

@:final @:overload new (buffer:NativeArray<UInt8>, index:Int, count:Int, writable:Bool)

@:final @:overload new (buffer:NativeArray<UInt8>, index:Int, count:Int)

@:final @:overload new (buffer:NativeArray<UInt8>, writable:Bool)

@:final @:overload new (buffer:NativeArray<UInt8>)

@:final @:overload new (capacity:Int)

Variables

Capacity:Int

Methods

@:overload GetBuffer ():NativeArray<UInt8>

@:overload ToArray ():NativeArray<UInt8>

@:overload WriteTo (stream:Stream):Void

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/cs/system/io/MemoryStream.html