Lib

class neko.LibAvailable in neko static inline function bytesReference( s : String ) : BytesReturns bytes referencing the content of a string. static function getClasses() : DynamicReturns an object containing all compiled packages and classes. static function haxeToNeko( v : Dynamic ) : DynamicConverts a Haxe value to its Neko equivalent. Used to unwrap String and Arrays Objects into raw Neko values. static function load( lib : String, prim : String, nargs : Int ) : DynamicLoad and return a Neko primitive from a NDLL library. static function loadLazy( lib : String, prim : String, nargs : Int ) : Dynamic static function localUnserialize( s : Bytes ) : DynamicUnserialize a string using native Neko serialization. See serialize. This function assume that all the serialized data was serialized with current module, even if the module name was different. This can happen if you are unserializing some data into mod_neko that was serialized on a different server using a different file path. static function nekoToHaxe( v : Dynamic ) : DynamicConverts a Neko value to its Haxe equivalent. Used for wrapping String and Arrays raw values into Haxe Objects. static function print( v : Dynamic ) : VoidPrint the specified value on the default output. static function println( v : Dynamic ) : VoidPrint the specified value on the default output followed by a newline character. static function rethrow( e : Dynamic ) : DynamicRethrow an exception. This is useful when manually filtering an exception in order to keep the previous exception stack. static function serialize( v : Dynamic ) : BytesSerialize using native Neko serialization. This will return a Binary string that can be stored for long term usage. The serialized data is optimized for speed and not for size. static inline function stringReference( b : Bytes ) : StringReturns a string referencing the data contains in bytes. static function unserialize( s : Bytes ) : DynamicUnserialize a string using native Neko serialization. See serialize.
version #11342, modified 2011-09-25 16:04:32 by api
0 comment