|
| 1 | +// Generated by SFHaxe 0.3.0 |
| 2 | +package sf.library; |
| 3 | +@:native("bit") extern class Bit { |
| 4 | + /** |
| 5 | + SHARED |
| 6 | + Returns the left rotated value. |
| 7 | + **/ |
| 8 | + @:native("rol") public static function rol(value:Float, shiftCount:Float):Float; |
| 9 | + /** |
| 10 | + SHARED |
| 11 | + Returns the arithmetically shifted value. |
| 12 | + **/ |
| 13 | + @:native("arshift") public static function arshift(value:Float, shiftCount:Float):Float; |
| 14 | + /** |
| 15 | + SHARED |
| 16 | + Compresses a string |
| 17 | + **/ |
| 18 | + @:native("compress") public static function compress(s:std.String):std.String; |
| 19 | + /** |
| 20 | + SHARED |
| 21 | + Returns the bitwise not of the value. |
| 22 | + **/ |
| 23 | + @:native("bnot") public static function bnot(value:Float):Float; |
| 24 | + /** |
| 25 | + SHARED |
| 26 | + Returns the left shifted value. |
| 27 | + **/ |
| 28 | + @:native("lshift") public static function lshift(value:Float, shiftCount:Float):Float; |
| 29 | + /** |
| 30 | + SHARED |
| 31 | + Creates a StringStream object |
| 32 | + **/ |
| 33 | + @:native("stringstream") public static function stringstream(stream:std.String, i:Float, endian:std.String):sf.type.StringStream; |
| 34 | + /** |
| 35 | + SHARED |
| 36 | + Converts serialized string data to table |
| 37 | + **/ |
| 38 | + @:native("stringToTable") public static function stringToTable(s:std.String):lua.Table<Dynamic,Dynamic>; |
| 39 | + /** |
| 40 | + SHARED |
| 41 | + Returns the bitwise OR of all values specified. |
| 42 | + **/ |
| 43 | + @:native("bor") public static function bor(value1:Float, Extra:...Float):Float; |
| 44 | + /** |
| 45 | + SHARED |
| 46 | + Swaps the byte order. |
| 47 | + **/ |
| 48 | + @:native("bswap") public static function bswap(value:Float):Float; |
| 49 | + /** |
| 50 | + SHARED |
| 51 | + Converts a table to string serializing data types as best as it can |
| 52 | + **/ |
| 53 | + @:native("tableToString") public static function tableToString(t:lua.Table<Dynamic,Dynamic>):std.String; |
| 54 | + /** |
| 55 | + SHARED |
| 56 | + Returns the right shifted value. |
| 57 | + **/ |
| 58 | + @:native("rshift") public static function rshift(value:Float, shiftCount:Float):Float; |
| 59 | + /** |
| 60 | + SHARED |
| 61 | + Returns the right rotated value. |
| 62 | + **/ |
| 63 | + @:native("ror") public static function ror(value:Float, shiftCount:Float):Float; |
| 64 | + /** |
| 65 | + SHARED |
| 66 | + Returns the bitwise xor of all values specified. |
| 67 | + **/ |
| 68 | + @:native("bxor") public static function bxor(value:Float, otherValues:...Float):Float; |
| 69 | + /** |
| 70 | + SHARED |
| 71 | + Normalizes the specified value and clamps it in the range of a signed 32bit integer. |
| 72 | + **/ |
| 73 | + @:native("tobit") public static function tobit(value:Float):Float; |
| 74 | + /** |
| 75 | + SHARED |
| 76 | + Returns the hexadecimal representation of the number with the specified digits. |
| 77 | + **/ |
| 78 | + @:native("tohex") public static function tohex(value:Float, ?digits:Null<Float>):std.String; |
| 79 | + /** |
| 80 | + SHARED |
| 81 | + Decompresses a string |
| 82 | + **/ |
| 83 | + @:native("decompress") public static function decompress(s:std.String):std.String; |
| 84 | + /** |
| 85 | + SHARED |
| 86 | + Performs the bitwise "and" for all values specified. |
| 87 | + **/ |
| 88 | + @:native("band") public static function band(value:Float, otherValues:...Float):Float; |
| 89 | +} |
| 90 | + |
0 commit comments