pub fn b32_encode_le_1(mut ptr_data:*const u8,mut len_data:usize,ptr_alphabet:*const u8)->String{
let size:usize=len_data/5*8+if len_data%5==0 {0}else{8};
let mut string:String=String::with_capacity(size);
let mut d:u64;
let mut d16:u16;
unsafe{
let mut vector=&mut string.as_mut_vec();
vector.resize(size,0);
let mut pointer=vector.as_mut_ptr();
while len_data>8{
d=(*(ptr_data as *const u64)).to_be();
*pointer.offset(0)=*ptr_alphabet.offset((((d>>59))&0b11111) as isize);
*pointer.offset(1)=*ptr_alphabet.offset((((d>>54))&0b11111) as isize);
*pointer.offset(2)=*ptr_alphabet.offset((((d>>49))&0b11111) as isize);
*pointer.offset(3)=*ptr_alphabet.offset((((d>>44))&0b11111) as isize);
*pointer.offset(4)=*ptr_alphabet.offset((((d>>39))&0b11111) as isize);
*pointer.offset(5)=*ptr_alphabet.offset((((d>>34))&0b11111) as isize);
*pointer.offset(6)=*ptr_alphabet.offset((((d>>29))&0b11111) as isize);
*pointer.offset(7)=*ptr_alphabet.offset((((d>>24))&0b11111) as isize);
pointer=pointer.offset(8);
ptr_data=ptr_data.offset(5);
len_data-=5;
}
while len_data>4{
*pointer.offset(0)=*ptr_alphabet.offset(((*ptr_data.offset(0)&0b11111000)>>3) as isize);
*pointer.offset(1)=*ptr_alphabet.offset((((*ptr_data.offset(0)&0b00000111)<<2)|((*ptr_data.offset(1)&0b11000000)>>6)) as isize);
*pointer.offset(2)=*ptr_alphabet.offset(((*ptr_data.offset(1)&0b00111110)>>1) as isize);
*pointer.offset(3)=*ptr_alphabet.offset((((*ptr_data.offset(1)&0b00000001)<<4)|((*ptr_data.offset(2)&0b11110000)>>4)) as isize);
*pointer.offset(4)=*ptr_alphabet.offset((((*ptr_data.offset(2)&0b00001111)<<1)|((*ptr_data.offset(3)&0b10000000)>>7)) as isize);
*pointer.offset(5)=*ptr_alphabet.offset(((*ptr_data.offset(3)&0b01111100)>>2) as isize);
*pointer.offset(6)=*ptr_alphabet.offset((((*ptr_data.offset(3)&0b00000011)<<3)|((*ptr_data.offset(4)&0b11100000)>>5)) as isize);
*pointer.offset(7)=*ptr_alphabet.offset(((*ptr_data.offset(4)&0b00011111)>>0) as isize);
pointer=pointer.offset(8);
ptr_data=ptr_data.offset(5);
len_data-=5;
}
if len_data==4{
*pointer.offset(0)=*ptr_alphabet.offset(((*ptr_data.offset(0)&0b11111000)>>3) as isize);
*pointer.offset(1)=*ptr_alphabet.offset((((*ptr_data.offset(0)&0b00000111)<<2)|((*ptr_data.offset(1)&0b11000000)>>6)) as isize);
*pointer.offset(2)=*ptr_alphabet.offset(((*ptr_data.offset(1)&0b00111110)>>1) as isize);
*pointer.offset(3)=*ptr_alphabet.offset((((*ptr_data.offset(1)&0b00000001)<<4)|((*ptr_data.offset(2)&0b11110000)>>4)) as isize);
*pointer.offset(4)=*ptr_alphabet.offset((((*ptr_data.offset(2)&0b00001111)<<1)|((*ptr_data.offset(3)&0b10000000)>>7)) as isize);
*pointer.offset(5)=*ptr_alphabet.offset(((*ptr_data.offset(3)&0b01111100)>>2) as isize);
*pointer.offset(6)=*ptr_alphabet.offset(((*ptr_data.offset(3)&0b00000011)<<3) as isize);
*pointer.offset(7)=61;
}else{
if len_data==3{
*pointer.offset(0)=*ptr_alphabet.offset(((*ptr_data.offset(0)&0b11111000)>>3) as isize);
*pointer.offset(1)=*ptr_alphabet.offset((((*ptr_data.offset(0)&0b00000111)<<2)|((*ptr_data.offset(1)&0b11000000)>>6)) as isize);
*pointer.offset(2)=*ptr_alphabet.offset(((*ptr_data.offset(1)&0b00111110)>>1) as isize);
*pointer.offset(3)=*ptr_alphabet.offset((((*ptr_data.offset(1)&0b00000001)<<4)|((*ptr_data.offset(2)&0b11110000)>>4)) as isize);
*pointer.offset(4)=*ptr_alphabet.offset(((*ptr_data.offset(2)&0b00001111)<<1) as isize);
*pointer.offset(5)=61;
*pointer.offset(6)=61;
*pointer.offset(7)=61;
}else{
if len_data==2{
*pointer.offset(0)=*ptr_alphabet.offset(((*ptr_data.offset(0)&0b11111000)>>3) as isize);
*pointer.offset(1)=*ptr_alphabet.offset((((*ptr_data.offset(0)&0b00000111)<<2)|((*ptr_data.offset(1)&0b11000000)>>6)) as isize);
*pointer.offset(2)=*ptr_alphabet.offset(((*ptr_data.offset(1)&0b00111110)>>1) as isize);
*pointer.offset(3)=*ptr_alphabet.offset(((*ptr_data.offset(1)&0b00000001)<<4) as isize);
*pointer.offset(4)=61;
*pointer.offset(5)=61;
*pointer.offset(6)=61;
*pointer.offset(7)=61;
}else{
if len_data==1{
*pointer.offset(0)=*ptr_alphabet.offset(((*ptr_data.offset(0)&0b11111000)>>3) as isize);
*pointer.offset(1)=*ptr_alphabet.offset(((*ptr_data.offset(0)&0b00000111)<<2) as isize);
*pointer.offset(2)=61;
*pointer.offset(3)=61;
*pointer.offset(4)=61;
*pointer.offset(5)=61;
*pointer.offset(6)=61;
*pointer.offset(7)=61;
}
}
}
}
}
return string;
}
pub fn b32_encode_le_2(mut ptr_data:*const u8,mut len_data:usize,ptr_alphabet:*const u8)->String{
let size:usize=len_data/5*8+if len_data%5==0 {0}else{8};
let mut string:String=String::with_capacity(size);
let mut d64:u64;
let mut d32:u32;
let mut d16:u16;
unsafe{
let mut vector=&mut string.as_mut_vec();
vector.resize(size,0);
let mut pointer=vector.as_mut_ptr();
while len_data>9{
d64=*((&[*ptr_data.offset(6),*ptr_data.offset(7),*ptr_data.offset(4),*ptr_data.offset(5),*ptr_data.offset(2),*ptr_data.offset(3),*ptr_data.offset(0),*ptr_data.offset(1)] as * const u8) as * const u64);
*pointer.offset(0)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*pointer.offset(1)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*pointer.offset(2)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*pointer.offset(3)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*pointer.offset(4)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*pointer.offset(5)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*pointer.offset(6)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*pointer.offset(7)=*ptr_alphabet.offset(((d64>>24)&0b11111) as isize);
pointer=pointer.offset(8);
d64=*((&[0,0,0,*ptr_data.offset(8),*ptr_data.offset(9),*ptr_data.offset(6),*ptr_data.offset(7),*ptr_data.offset(4)] as * const u8) as * const u64);
*pointer.offset(0)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*pointer.offset(1)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*pointer.offset(2)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*pointer.offset(3)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*pointer.offset(4)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*pointer.offset(5)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*pointer.offset(6)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*pointer.offset(7)=*ptr_alphabet.offset(((d64>>24)&0b11111) as isize);
pointer=pointer.offset(8);
len_data-=10;
ptr_data=ptr_data.offset(10);
}
if len_data==8{
d64=*((&[*ptr_data.offset(6),*ptr_data.offset(7),*ptr_data.offset(4),*ptr_data.offset(5),*ptr_data.offset(2),*ptr_data.offset(3),*ptr_data.offset(0),*ptr_data.offset(1)] as * const u8) as * const u64);
*pointer.offset(00)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*pointer.offset(01)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*pointer.offset(02)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*pointer.offset(03)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*pointer.offset(04)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*pointer.offset(05)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*pointer.offset(06)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*pointer.offset(07)=*ptr_alphabet.offset(((d64>>24)&0b11111) as isize);
*pointer.offset(08)=*ptr_alphabet.offset(((d64>>19)&0b11111) as isize);
*pointer.offset(09)=*ptr_alphabet.offset(((d64>>14)&0b11111) as isize);
*pointer.offset(10)=*ptr_alphabet.offset(((d64>>09)&0b11111) as isize);
*pointer.offset(11)=*ptr_alphabet.offset(((d64>>04)&0b11111) as isize);
*pointer.offset(12)=*ptr_alphabet.offset(((d64<<01)&0b11111) as isize);
*pointer.offset(13)=61;
*pointer.offset(14)=61;
*pointer.offset(15)=61;
}
if len_data==6{
d64=*((&[0,0,*ptr_data.offset(4),*ptr_data.offset(5),*ptr_data.offset(2),*ptr_data.offset(3),*ptr_data.offset(0),*ptr_data.offset(1)] as * const u8) as * const u64);
*pointer.offset(00)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*pointer.offset(01)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*pointer.offset(02)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*pointer.offset(03)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*pointer.offset(04)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*pointer.offset(05)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*pointer.offset(06)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*pointer.offset(07)=*ptr_alphabet.offset(((d64>>24)&0b11111) as isize);
*pointer.offset(08)=*ptr_alphabet.offset(((d64>>19)&0b11111) as isize);
*pointer.offset(09)=*ptr_alphabet.offset(((d64>>14)&0b11111) as isize);
*pointer.offset(10)=61;
*pointer.offset(11)=61;
*pointer.offset(12)=61;
*pointer.offset(13)=61;
*pointer.offset(14)=61;
*pointer.offset(15)=61;
}
if len_data==4{
d32=*((&[*ptr_data.offset(2),*ptr_data.offset(3),*ptr_data.offset(0),*ptr_data.offset(1)] as * const u8) as * const u32);
*pointer.offset(0)=*ptr_alphabet.offset(((d32>>27)&0b11111) as isize);
*pointer.offset(1)=*ptr_alphabet.offset(((d32>>22)&0b11111) as isize);
*pointer.offset(2)=*ptr_alphabet.offset(((d32>>17)&0b11111) as isize);
*pointer.offset(3)=*ptr_alphabet.offset(((d32>>12)&0b11111) as isize);
*pointer.offset(4)=*ptr_alphabet.offset(((d32>>07)&0b11111) as isize);
*pointer.offset(5)=*ptr_alphabet.offset(((d32>>02)&0b11111) as isize);
*pointer.offset(6)=*ptr_alphabet.offset(((d32<<03)&0b11111) as isize);
*pointer.offset(7)=61;
}
if len_data==2{
d16=*(ptr_data as *const u16);
*pointer.offset(0)=*ptr_alphabet.offset(((d16>>11)&0b11111) as isize);
*pointer.offset(1)=*ptr_alphabet.offset(((d16>>06)&0b11111) as isize);
*pointer.offset(2)=*ptr_alphabet.offset(((d16>>01)&0b11111) as isize);
*pointer.offset(3)=*ptr_alphabet.offset(((d16<<04)&0b11111) as isize);
*pointer.offset(4)=61;
*pointer.offset(5)=61;
*pointer.offset(6)=61;
*pointer.offset(7)=61;
}
}
return string;
}
pub fn b32_encode_le_4(mut ptr_data:*const u8,mut len_data:usize,ptr_alphabet:*const u8)->String{
let size:usize=len_data/5*8+if len_data%5==0 {0}else{8};
let mut string:String=String::with_capacity(size);
let mut d64:u64;
unsafe{
let mut vector=&mut string.as_mut_vec();
vector.resize(size,0);
let mut pointer=vector.as_mut_ptr();
while len_data>19{
d64=*((&[0,0,0,*ptr_data.offset(7),*ptr_data.offset(0),*ptr_data.offset(1),*ptr_data.offset(2),*ptr_data.offset(3)] as * const u8) as * const u64);
*pointer.offset(0)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*pointer.offset(1)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*pointer.offset(2)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*pointer.offset(3)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*pointer.offset(4)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*pointer.offset(5)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*pointer.offset(6)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*pointer.offset(7)=*ptr_alphabet.offset(((d64>>24)&0b11111) as isize);
pointer=pointer.offset(8);
d64=*((&[0,0,0,*ptr_data.offset(10),*ptr_data.offset(11),*ptr_data.offset(4),*ptr_data.offset(5),*ptr_data.offset(6)] as * const u8) as * const u64);
*pointer.offset(0)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*pointer.offset(1)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*pointer.offset(2)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*pointer.offset(3)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*pointer.offset(4)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*pointer.offset(5)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*pointer.offset(6)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*pointer.offset(7)=*ptr_alphabet.offset(((d64>>24)&0b11111) as isize);
pointer=pointer.offset(8);
d64=*((&[0,0,0,*ptr_data.offset(13),*ptr_data.offset(14),*ptr_data.offset(15),*ptr_data.offset(8),*ptr_data.offset(9)] as * const u8) as * const u64);
*pointer.offset(0)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*pointer.offset(1)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*pointer.offset(2)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*pointer.offset(3)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*pointer.offset(4)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*pointer.offset(5)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*pointer.offset(6)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*pointer.offset(7)=*ptr_alphabet.offset(((d64>>24)&0b11111) as isize);
pointer=pointer.offset(8);
d64=*((&[0,0,0,*ptr_data.offset(16),*ptr_data.offset(17),*ptr_data.offset(18),*ptr_data.offset(19),*ptr_data.offset(12)] as * const u8) as * const u64);
*pointer.offset(0)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*pointer.offset(1)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*pointer.offset(2)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*pointer.offset(3)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*pointer.offset(4)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*pointer.offset(5)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*pointer.offset(6)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*pointer.offset(7)=*ptr_alphabet.offset(((d64>>24)&0b11111) as isize);
pointer=pointer.offset(8);
ptr_data=ptr_data.offset(20);
len_data-=20;
}
if len_data==16 {
d64=*((&[0,0,0,*ptr_data.offset(7),*ptr_data.offset(0),*ptr_data.offset(1),*ptr_data.offset(2),*ptr_data.offset(3)] as * const u8) as * const u64);
*pointer.offset(0)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*pointer.offset(1)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*pointer.offset(2)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*pointer.offset(3)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*pointer.offset(4)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*pointer.offset(5)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*pointer.offset(6)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*pointer.offset(7)=*ptr_alphabet.offset(((d64>>24)&0b11111) as isize);
pointer=pointer.offset(8);
d64=*((&[0,0,0,*ptr_data.offset(10),*ptr_data.offset(11),*ptr_data.offset(4),*ptr_data.offset(5),*ptr_data.offset(6)] as * const u8) as * const u64);
*pointer.offset(0)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*pointer.offset(1)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*pointer.offset(2)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*pointer.offset(3)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*pointer.offset(4)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*pointer.offset(5)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*pointer.offset(6)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*pointer.offset(7)=*ptr_alphabet.offset(((d64>>24)&0b11111) as isize);
pointer=pointer.offset(8);
d64=*((&[0,0,0,*ptr_data.offset(13),*ptr_data.offset(14),*ptr_data.offset(15),*ptr_data.offset(8),*ptr_data.offset(9)] as * const u8) as * const u64);
*pointer.offset(0)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*pointer.offset(1)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*pointer.offset(2)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*pointer.offset(3)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*pointer.offset(4)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*pointer.offset(5)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*pointer.offset(6)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*pointer.offset(7)=*ptr_alphabet.offset(((d64>>24)&0b11111) as isize);
pointer=pointer.offset(8);
d64=*((&[0,0,0,0,0,0,0,*ptr_data.offset(12)] as * const u8) as * const u64);
*pointer.offset(0)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*pointer.offset(1)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*pointer.offset(2)=61;
*pointer.offset(3)=61;
*pointer.offset(4)=61;
*pointer.offset(5)=61;
*pointer.offset(6)=61;
*pointer.offset(7)=61;
}
if len_data==12 {
d64=*((&[0,0,0,*ptr_data.offset(7),*ptr_data.offset(0),*ptr_data.offset(1),*ptr_data.offset(2),*ptr_data.offset(3)] as * const u8) as * const u64);
*pointer.offset(0)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*pointer.offset(1)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*pointer.offset(2)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*pointer.offset(3)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*pointer.offset(4)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*pointer.offset(5)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*pointer.offset(6)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*pointer.offset(7)=*ptr_alphabet.offset(((d64>>24)&0b11111) as isize);
pointer=pointer.offset(8);
d64=*((&[0,0,0,*ptr_data.offset(10),*ptr_data.offset(11),*ptr_data.offset(4),*ptr_data.offset(5),*ptr_data.offset(6)] as * const u8) as * const u64);
*pointer.offset(0)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*pointer.offset(1)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*pointer.offset(2)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*pointer.offset(3)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*pointer.offset(4)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*pointer.offset(5)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*pointer.offset(6)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*pointer.offset(7)=*ptr_alphabet.offset(((d64>>24)&0b11111) as isize);
pointer=pointer.offset(8);
d64=*((&[0,0,0,0,0,0,*ptr_data.offset(8),*ptr_data.offset(9)] as * const u8) as * const u64);
*pointer.offset(0)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*pointer.offset(1)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*pointer.offset(2)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*pointer.offset(3)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*pointer.offset(4)=61;
*pointer.offset(5)=61;
*pointer.offset(6)=61;
*pointer.offset(7)=61;
}
if len_data==8 {
d64=*((&[0,0,0,*ptr_data.offset(7),*ptr_data.offset(0),*ptr_data.offset(1),*ptr_data.offset(2),*ptr_data.offset(3)] as * const u8) as * const u64);
*pointer.offset(00)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*pointer.offset(01)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*pointer.offset(02)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*pointer.offset(03)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*pointer.offset(04)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*pointer.offset(05)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*pointer.offset(06)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*pointer.offset(07)=*ptr_alphabet.offset(((d64>>24)&0b11111) as isize);
pointer=pointer.offset(8);
d64=*((&[0,0,0,0,0,*ptr_data.offset(4),*ptr_data.offset(5),*ptr_data.offset(6)] as * const u8) as * const u64);
*pointer.offset(00)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*pointer.offset(01)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*pointer.offset(02)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*pointer.offset(03)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*pointer.offset(04)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*pointer.offset(5)=61;
*pointer.offset(6)=61;
*pointer.offset(7)=61;
}
if len_data==4 {
d64=*((&[0,0,0,0,*ptr_data.offset(0),*ptr_data.offset(1),*ptr_data.offset(2),*ptr_data.offset(3)] as * const u8) as * const u64);
*pointer.offset(00)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*pointer.offset(01)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*pointer.offset(02)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*pointer.offset(03)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*pointer.offset(04)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*pointer.offset(05)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*pointer.offset(06)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*pointer.offset(07)=61;
}
}
return string;
}
pub fn b32_encode_le_8(mut ptr_data:*const u8,mut len_data:usize,ptr_alphabet:*const u8)->String{
let size:usize=len_data/5*8+if len_data%5==0 {0}else{8};
let mut string:String=String::with_capacity(size);
let mut d64:u64;
unsafe{
let mut vector=&mut string.as_mut_vec();
vector.resize(size,0);
let mut pointer=vector.as_mut_ptr();
while len_data>=40{
d64=*((&[0,0,0,*ptr_data.offset(3),*ptr_data.offset(4),*ptr_data.offset(5),*ptr_data.offset(6),*ptr_data.offset(7)] as * const u8) as * const u64);
*pointer.offset(00)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*pointer.offset(01)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*pointer.offset(02)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*pointer.offset(03)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*pointer.offset(04)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*pointer.offset(05)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*pointer.offset(06)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*pointer.offset(07)=*ptr_alphabet.offset(((d64>>24)&0b11111) as isize);
pointer=pointer.offset(8);
d64=*((&[0,0,0,*ptr_data.offset(14),*ptr_data.offset(15),*ptr_data.offset(0),*ptr_data.offset(1),*ptr_data.offset(2)] as * const u8) as * const u64);
*pointer.offset(00)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*pointer.offset(01)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*pointer.offset(02)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*pointer.offset(03)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*pointer.offset(04)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*pointer.offset(05)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*pointer.offset(06)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*pointer.offset(07)=*ptr_alphabet.offset(((d64>>24)&0b11111) as isize);
pointer=pointer.offset(8);
d64=*((&[0,0,0,*ptr_data.offset(9),*ptr_data.offset(10),*ptr_data.offset(11),*ptr_data.offset(12),*ptr_data.offset(13)] as * const u8) as * const u64);
*pointer.offset(00)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*pointer.offset(01)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*pointer.offset(02)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*pointer.offset(03)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*pointer.offset(04)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*pointer.offset(05)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*pointer.offset(06)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*pointer.offset(07)=*ptr_alphabet.offset(((d64>>24)&0b11111) as isize);
pointer=pointer.offset(8);
d64=*((&[0,0,0,*ptr_data.offset(20),*ptr_data.offset(21),*ptr_data.offset(22),*ptr_data.offset(23),*ptr_data.offset(8)] as * const u8) as * const u64);
*pointer.offset(00)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*pointer.offset(01)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*pointer.offset(02)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*pointer.offset(03)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*pointer.offset(04)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*pointer.offset(05)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*pointer.offset(06)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*pointer.offset(07)=*ptr_alphabet.offset(((d64>>24)&0b11111) as isize);
pointer=pointer.offset(8);
d64=*((&[0,0,0,*ptr_data.offset(31),*ptr_data.offset(16),*ptr_data.offset(17),*ptr_data.offset(18),*ptr_data.offset(19)] as * const u8) as * const u64);
*pointer.offset(00)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*pointer.offset(01)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*pointer.offset(02)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*pointer.offset(03)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*pointer.offset(04)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*pointer.offset(05)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*pointer.offset(06)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*pointer.offset(07)=*ptr_alphabet.offset(((d64>>24)&0b11111) as isize);
pointer=pointer.offset(8);
d64=*((&[0,0,0,*ptr_data.offset(26),*ptr_data.offset(27),*ptr_data.offset(28),*ptr_data.offset(29),*ptr_data.offset(30)] as * const u8) as * const u64);
*pointer.offset(00)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*pointer.offset(01)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*pointer.offset(02)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*pointer.offset(03)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*pointer.offset(04)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*pointer.offset(05)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*pointer.offset(06)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*pointer.offset(07)=*ptr_alphabet.offset(((d64>>24)&0b11111) as isize);
pointer=pointer.offset(8);
d64=*((&[0,0,0,*ptr_data.offset(37),*ptr_data.offset(38),*ptr_data.offset(39),*ptr_data.offset(24),*ptr_data.offset(25)] as * const u8) as * const u64);
*pointer.offset(00)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*pointer.offset(01)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*pointer.offset(02)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*pointer.offset(03)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*pointer.offset(04)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*pointer.offset(05)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*pointer.offset(06)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*pointer.offset(07)=*ptr_alphabet.offset(((d64>>24)&0b11111) as isize);
pointer=pointer.offset(8);
d64=*((&[0,0,0,*ptr_data.offset(32),*ptr_data.offset(33),*ptr_data.offset(34),*ptr_data.offset(35),*ptr_data.offset(36)] as * const u8) as * const u64);
*pointer.offset(00)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*pointer.offset(01)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*pointer.offset(02)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*pointer.offset(03)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*pointer.offset(04)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*pointer.offset(05)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*pointer.offset(06)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*pointer.offset(07)=*ptr_alphabet.offset(((d64>>24)&0b11111) as isize);
pointer=pointer.offset(8);
ptr_data.offset(40);
len_data-=40;
}
if len_data==32{
d64=*((&[0,0,0,*ptr_data.offset(3),*ptr_data.offset(4),*ptr_data.offset(5),*ptr_data.offset(6),*ptr_data.offset(7)] as * const u8) as * const u64);
*pointer.offset(00)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*pointer.offset(01)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*pointer.offset(02)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*pointer.offset(03)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*pointer.offset(04)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*pointer.offset(05)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*pointer.offset(06)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*pointer.offset(07)=*ptr_alphabet.offset(((d64>>24)&0b11111) as isize);
pointer=pointer.offset(8);
d64=*((&[0,0,0,*ptr_data.offset(14),*ptr_data.offset(15),*ptr_data.offset(0),*ptr_data.offset(1),*ptr_data.offset(2)] as * const u8) as * const u64);
*pointer.offset(00)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*pointer.offset(01)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*pointer.offset(02)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*pointer.offset(03)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*pointer.offset(04)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*pointer.offset(05)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*pointer.offset(06)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*pointer.offset(07)=*ptr_alphabet.offset(((d64>>24)&0b11111) as isize);
pointer=pointer.offset(8);
d64=*((&[0,0,0,*ptr_data.offset(9),*ptr_data.offset(10),*ptr_data.offset(11),*ptr_data.offset(12),*ptr_data.offset(13)] as * const u8) as * const u64);
*pointer.offset(00)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*pointer.offset(01)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*pointer.offset(02)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*pointer.offset(03)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*pointer.offset(04)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*pointer.offset(05)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*pointer.offset(06)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*pointer.offset(07)=*ptr_alphabet.offset(((d64>>24)&0b11111) as isize);
pointer=pointer.offset(8);
d64=*((&[0,0,0,*ptr_data.offset(20),*ptr_data.offset(21),*ptr_data.offset(22),*ptr_data.offset(23),*ptr_data.offset(8)] as * const u8) as * const u64);
*pointer.offset(00)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*pointer.offset(01)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*pointer.offset(02)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*pointer.offset(03)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*pointer.offset(04)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*pointer.offset(05)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*pointer.offset(06)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*pointer.offset(07)=*ptr_alphabet.offset(((d64>>24)&0b11111) as isize);
pointer=pointer.offset(8);
d64=*((&[0,0,0,*ptr_data.offset(31),*ptr_data.offset(16),*ptr_data.offset(17),*ptr_data.offset(18),*ptr_data.offset(19)] as * const u8) as * const u64);
*pointer.offset(00)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*pointer.offset(01)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*pointer.offset(02)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*pointer.offset(03)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*pointer.offset(04)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*pointer.offset(05)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*pointer.offset(06)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*pointer.offset(07)=*ptr_alphabet.offset(((d64>>24)&0b11111) as isize);
pointer=pointer.offset(8);
d64=*((&[0,0,0,*ptr_data.offset(26),*ptr_data.offset(27),*ptr_data.offset(28),*ptr_data.offset(29),*ptr_data.offset(30)] as * const u8) as * const u64);
*pointer.offset(00)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*pointer.offset(01)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*pointer.offset(02)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*pointer.offset(03)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*pointer.offset(04)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*pointer.offset(05)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*pointer.offset(06)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*pointer.offset(07)=*ptr_alphabet.offset(((d64>>24)&0b11111) as isize);
pointer=pointer.offset(8);
d64=*((&[0,0,0,0,0,0,*ptr_data.offset(24),*ptr_data.offset(25)] as * const u8) as * const u64);
*pointer.offset(00)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*pointer.offset(01)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*pointer.offset(02)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*pointer.offset(03)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*pointer.offset(04)=61;
*pointer.offset(05)=61;
*pointer.offset(06)=61;
*pointer.offset(07)=61;
}
if len_data==24{
d64=*((&[0,0,0,*ptr_data.offset(3),*ptr_data.offset(4),*ptr_data.offset(5),*ptr_data.offset(6),*ptr_data.offset(7)] as * const u8) as * const u64);
*pointer.offset(00)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*pointer.offset(01)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*pointer.offset(02)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*pointer.offset(03)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*pointer.offset(04)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*pointer.offset(05)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*pointer.offset(06)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*pointer.offset(07)=*ptr_alphabet.offset(((d64>>24)&0b11111) as isize);
pointer=pointer.offset(8);
d64=*((&[0,0,0,*ptr_data.offset(14),*ptr_data.offset(15),*ptr_data.offset(0),*ptr_data.offset(1),*ptr_data.offset(2)] as * const u8) as * const u64);
*pointer.offset(00)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*pointer.offset(01)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*pointer.offset(02)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*pointer.offset(03)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*pointer.offset(04)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*pointer.offset(05)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*pointer.offset(06)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*pointer.offset(07)=*ptr_alphabet.offset(((d64>>24)&0b11111) as isize);
pointer=pointer.offset(8);
d64=*((&[0,0,0,*ptr_data.offset(9),*ptr_data.offset(10),*ptr_data.offset(11),*ptr_data.offset(12),*ptr_data.offset(13)] as * const u8) as * const u64);
*pointer.offset(00)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*pointer.offset(01)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*pointer.offset(02)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*pointer.offset(03)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*pointer.offset(04)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*pointer.offset(05)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*pointer.offset(06)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*pointer.offset(07)=*ptr_alphabet.offset(((d64>>24)&0b11111) as isize);
pointer=pointer.offset(8);
d64=*((&[0,0,0,*ptr_data.offset(20),*ptr_data.offset(21),*ptr_data.offset(22),*ptr_data.offset(23),*ptr_data.offset(8)] as * const u8) as * const u64);
*pointer.offset(00)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*pointer.offset(01)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*pointer.offset(02)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*pointer.offset(03)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*pointer.offset(04)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*pointer.offset(05)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*pointer.offset(06)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*pointer.offset(07)=*ptr_alphabet.offset(((d64>>24)&0b11111) as isize);
pointer=pointer.offset(8);
d64=*((&[0,0,0,0,*ptr_data.offset(16),*ptr_data.offset(17),*ptr_data.offset(18),*ptr_data.offset(19)] as * const u8) as * const u64);
*pointer.offset(00)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*pointer.offset(01)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*pointer.offset(02)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*pointer.offset(03)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*pointer.offset(04)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*pointer.offset(05)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*pointer.offset(06)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*pointer.offset(07)=61;
}
if len_data==16{
d64=*((&[0,0,0,*ptr_data.offset(3),*ptr_data.offset(4),*ptr_data.offset(5),*ptr_data.offset(6),*ptr_data.offset(7)] as * const u8) as * const u64);
*pointer.offset(00)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*pointer.offset(01)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*pointer.offset(02)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*pointer.offset(03)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*pointer.offset(04)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*pointer.offset(05)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*pointer.offset(06)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*pointer.offset(07)=*ptr_alphabet.offset(((d64>>24)&0b11111) as isize);
pointer=pointer.offset(8);
d64=*((&[0,0,0,*ptr_data.offset(14),*ptr_data.offset(15),*ptr_data.offset(0),*ptr_data.offset(1),*ptr_data.offset(2)] as * const u8) as * const u64);
*pointer.offset(00)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*pointer.offset(01)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*pointer.offset(02)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*pointer.offset(03)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*pointer.offset(04)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*pointer.offset(05)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*pointer.offset(06)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*pointer.offset(07)=*ptr_alphabet.offset(((d64>>24)&0b11111) as isize);
pointer=pointer.offset(8);
d64=*((&[0,0,0,*ptr_data.offset(9),*ptr_data.offset(10),*ptr_data.offset(11),*ptr_data.offset(12),*ptr_data.offset(13)] as * const u8) as * const u64);
*pointer.offset(00)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*pointer.offset(01)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*pointer.offset(02)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*pointer.offset(03)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*pointer.offset(04)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*pointer.offset(05)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*pointer.offset(06)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*pointer.offset(07)=*ptr_alphabet.offset(((d64>>24)&0b11111) as isize);
pointer=pointer.offset(8);
d64=*((&[0,0,0,0,0,0,0,*ptr_data.offset(8)] as * const u8) as * const u64);
*pointer.offset(00)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*pointer.offset(01)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*pointer.offset(02)=61;
*pointer.offset(03)=61;
*pointer.offset(04)=61;
*pointer.offset(05)=61;
*pointer.offset(06)=61;
*pointer.offset(07)=61;
}
if len_data==8{
d64=*((&[0,0,0,*ptr_data.offset(3),*ptr_data.offset(4),*ptr_data.offset(5),*ptr_data.offset(6),*ptr_data.offset(7)] as * const u8) as * const u64);
*pointer.offset(00)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*pointer.offset(01)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*pointer.offset(02)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*pointer.offset(03)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*pointer.offset(04)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*pointer.offset(05)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*pointer.offset(06)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*pointer.offset(07)=*ptr_alphabet.offset(((d64>>24)&0b11111) as isize);
pointer=pointer.offset(8);
d64=*((&[0,0,0,0,0,*ptr_data.offset(0),*ptr_data.offset(1),*ptr_data.offset(2)] as * const u8) as * const u64);
*pointer.offset(00)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*pointer.offset(01)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*pointer.offset(02)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*pointer.offset(03)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*pointer.offset(04)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*pointer.offset(5)=61;
*pointer.offset(6)=61;
*pointer.offset(7)=61;
}
}
return string;
}