Static methods

staticasCharView(s:String):View<Char>

Returns a view to ASCII encoded characters of the given string. If the internal encoding of the string is not ASCII an exception is raised.

Parameters:

s

String to return the view of.

staticasWideCharView(s:String):View<Char16>

Returns a view to UTF16 encoded characters of the given string. If the internal encoding of the string is not UTF16 an exception is raised.

Parameters:

s

String to return the view of.

staticread<T>(view:View<UInt8>):T

staticreadInt16(view:View<UInt8>):Int16

staticreadInt32(view:View<UInt8>):Int32

staticreadInt64(view:View<UInt8>):Int64

staticreadInt8(view:View<UInt8>):Int8

staticreadPointer<T>(view:View<UInt8>):Pointer<T>

staticreadUInt8(view:View<UInt8>):UInt8

staticwrite<T>(view:View<UInt8>, value:T):Void

staticwriteBigEndianPointer<T>(view:View<UInt8>, value:Pointer<T>):Void

staticwriteFloat32(view:View<UInt8>, value:Float32):Void

staticwriteFloat64(view:View<UInt8>, value:Float64):Void

staticwriteInt16(view:View<UInt8>, value:Int16):Void

staticwriteInt32(view:View<UInt8>, value:Int32):Void

staticwriteInt64(view:View<UInt8>, value:Int64):Void

staticwriteInt8(view:View<UInt8>, value:Int8):Void

staticwriteLittleEndianPointer<T>(view:View<UInt8>, value:Pointer<T>):Void

staticwritePointer<T>(view:View<UInt8>, value:Pointer<T>):Void

staticwriteUInt16(view:View<UInt8>, value:UInt16):Void

staticwriteUInt32(view:View<UInt8>, value:UInt32):Void

staticwriteUInt64(view:View<UInt8>, value:UInt64):Void

staticwriteUInt8(view:View<UInt8>, value:UInt8):Void