Bottom of this page.
|
<<last
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
-
b41f3b14
anonymous
2015-11-27 22:50
- @markdown
:::c
inline void ConvertRaw12CharTripcodeIntoDisplayFormat(unsigned int *rawTripcodeArray, unsigned char *tripcode)
{
tripcode[0] = base64CharTable[ rawTripcodeArray[0] >> 26 ];
tripcode[1] = base64CharTable[(rawTripcodeArray[0] >> 20 ) & 0x3f];
tripcode[2] = base64CharTable[(rawTripcodeArray[0] >> 14 ) & 0x3f];
tripcode[3] = base64CharTable[(rawTripcodeArray[0] >> 8 ) & 0x3f];
tripcode[4] = base64CharTable[(rawTripcodeArray[0] >> 2 ) & 0x3f];
tripcode[5] = base64CharTable[(rawTripcodeArray[1] >> 28 | rawTripcodeArray[0] << 4) & 0x3f];
tripcode[6] = base64CharTable[(rawTripcodeArray[1] >> 22 ) & 0x3f];
tripcode[7] = base64CharTable[(rawTripcodeArray[1] >> 16 ) & 0x3f];
tripcode[8] = base64CharTable[(rawTripcodeArray[1] >> 10 ) & 0x3f];
tripcode[9] = base64CharTable[(rawTripcodeArray[1] >> 4 ) & 0x3f];
tripcode[10] = base64CharTable[(rawTripcodeArray[1] << 2 | rawTripcodeArray[2] >> 30) & 0x3f];
tripcode[11] = base64CharTable[(rawTripcodeArray[2] >> 24 ) & 0x3f];
}
Top of this page.
|
<<last
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
(テスト/4181/25.1MB)