-
Notifications
You must be signed in to change notification settings - Fork 11
/
Bits.reds
19 lines (16 loc) · 1.16 KB
/
Bits.reds
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
public static native func BitTest8(value: Uint8, n: Int32) -> Bool
public static native func BitSet8(value: Uint8, n: Int32, state: Bool) -> Uint8
public static native func BitShiftL8(value: Uint8, n: Int32) -> Uint8
public static native func BitShiftR8(value: Uint8, n: Int32) -> Uint8
public static native func BitTest16(value: Uint16, n: Int32) -> Bool
public static native func BitSet16(value: Uint16, n: Int32, state: Bool) -> Uint16
public static native func BitShiftL16(value: Uint16, n: Int32) -> Uint16
public static native func BitShiftR16(value: Uint16, n: Int32) -> Uint16
public static native func BitTest32(value: Uint32, n: Int32) -> Bool
public static native func BitSet32(value: Uint32, n: Int32, state: Bool) -> Uint32
public static native func BitShiftL32(value: Uint32, n: Int32) -> Uint32
public static native func BitShiftR32(value: Uint32, n: Int32) -> Uint32
public static native func BitTest64(value: Uint64, n: Int32) -> Bool
public static native func BitSet64(value: Uint64, n: Int32, state: Bool) -> Uint64
public static native func BitShiftL64(value: Uint64, n: Int32) -> Uint64
public static native func BitShiftR64(value: Uint64, n: Int32) -> Uint64