Static methods

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

statictoCharView(s:String):View<Char>

statictoCharView(s:String, buffer:View<Char>):Int

Returns a view to UTF8 encoded characters of the given string. The characters in the view will be null terminated.

Depending on the internal incoding of s this function may allocate GC bytes.

Parameters:

s

String to return the view of.

statictoString(buffer:View<Char>):String

statictoString(buffer:View<Char16>):String

Allocates a string from the provided utf8 characters.

Parameters:

buffer

Buffer to characters, does not need to be null terminated.

statictoWideCharView(s:String):View<Char16>

statictoWideCharView(s:String, buffer:View<Char16>):Int

Returns a view to UTF16 encoded characters of the given string. The characters in the view will be null terminated.

Depending on the internal incoding of s this function may allocate GC bytes.

Parameters:

s

String to return the view of.

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