Static methods

staticinlineasBytesView<T>(source:View<T>):View<UInt8>

staticinlineasView<T>(source:Pointer<T>, length:Int64):View<T>

staticinlineasView(source:UInt8Array):View<UInt8>

staticinlineasView(source:UInt16Array):View<UInt16>

staticinlineasView(source:UInt32Array):View<UInt32>

staticinlineasView(source:Int32Array):View<Int32>

staticinlineasView(source:Float64Array):View<Float64>

staticinlineasView(source:Float32Array):View<Float32>

staticinlineasView(source:ArrayBufferView):View<UInt8>

staticinlineasView(source:Bytes):View<UInt8>

staticinlineasView<T>(source:Vector<T>):View<T>

staticinlineasView<T>(source:Array<T>):View<T>

staticinlineempty<T>():View<T>

staticinlinerefAsView<T>(source:AsVar<T>):View<T>

staticinlineszToString(source:View<Char>):String

staticinlineszToString(source:View<Char16>):String

Reads UTF-8 characters from the view up to the first null character and decodes them into a string.

@:unreflective@:genericstatictoArray<T>(source:View<T>):Array<T>

Allocates a new Array instance and copies source into it.

Throws:

ArgumentException

If source represents a region of bytes greater than the max Int32 value.

@:unreflective@:genericstatictoBytes<T>(source:View<T>):Bytes

Allocates a new haxe.io.Bytes instance and copies source into it.

Throws:

ArgumentException

If source represents a region of bytes greater than the max Int32 value.

@:unreflective@:genericstatictoVector<T>(source:View<T>):Vector<T>

Allocates a new haxe.ds.Vector instance and copies source into it.

Throws:

ArgumentException

If source represents a region of bytes greater than the max Int32 value.