pub fn b32_encode_1(mut ptr_data:*const u8,mut len_in:usize,ptr_alphabet:*const u8)->String{
let size:usize=len_in/5*8+if len_in%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 ptr_out=vector.as_mut_ptr();
while len_in>8{
d=(*(ptr_data as *const u64)).to_be();
*ptr_out.offset(0)=*ptr_alphabet.offset((((d>>59))&0b11111) as isize);
*ptr_out.offset(1)=*ptr_alphabet.offset((((d>>54))&0b11111) as isize);
*ptr_out.offset(2)=*ptr_alphabet.offset((((d>>49))&0b11111) as isize);
*ptr_out.offset(3)=*ptr_alphabet.offset((((d>>44))&0b11111) as isize);
*ptr_out.offset(4)=*ptr_alphabet.offset((((d>>39))&0b11111) as isize);
*ptr_out.offset(5)=*ptr_alphabet.offset((((d>>34))&0b11111) as isize);
*ptr_out.offset(6)=*ptr_alphabet.offset((((d>>29))&0b11111) as isize);
*ptr_out.offset(7)=*ptr_alphabet.offset((((d>>24))&0b11111) as isize);
ptr_out=ptr_out.offset(8);
ptr_data=ptr_data.offset(5);
len_in-=5;
}
while len_in>4{
*ptr_out.offset(0)=*ptr_alphabet.offset(((*ptr_data.offset(0)&0b11111000)>>3) as isize);
*ptr_out.offset(1)=*ptr_alphabet.offset((((*ptr_data.offset(0)&0b00000111)<<2)|((*ptr_data.offset(1)&0b11000000)>>6)) as isize);
*ptr_out.offset(2)=*ptr_alphabet.offset(((*ptr_data.offset(1)&0b00111110)>>1) as isize);
*ptr_out.offset(3)=*ptr_alphabet.offset((((*ptr_data.offset(1)&0b00000001)<<4)|((*ptr_data.offset(2)&0b11110000)>>4)) as isize);
*ptr_out.offset(4)=*ptr_alphabet.offset((((*ptr_data.offset(2)&0b00001111)<<1)|((*ptr_data.offset(3)&0b10000000)>>7)) as isize);
*ptr_out.offset(5)=*ptr_alphabet.offset(((*ptr_data.offset(3)&0b01111100)>>2) as isize);
*ptr_out.offset(6)=*ptr_alphabet.offset((((*ptr_data.offset(3)&0b00000011)<<3)|((*ptr_data.offset(4)&0b11100000)>>5)) as isize);
*ptr_out.offset(7)=*ptr_alphabet.offset(((*ptr_data.offset(4)&0b00011111)>>0) as isize);
ptr_out=ptr_out.offset(8);
ptr_data=ptr_data.offset(5);
len_in-=5;
}
if len_in==4{
*ptr_out.offset(0)=*ptr_alphabet.offset(((*ptr_data.offset(0)&0b11111000)>>3) as isize);
*ptr_out.offset(1)=*ptr_alphabet.offset((((*ptr_data.offset(0)&0b00000111)<<2)|((*ptr_data.offset(1)&0b11000000)>>6)) as isize);
*ptr_out.offset(2)=*ptr_alphabet.offset(((*ptr_data.offset(1)&0b00111110)>>1) as isize);
*ptr_out.offset(3)=*ptr_alphabet.offset((((*ptr_data.offset(1)&0b00000001)<<4)|((*ptr_data.offset(2)&0b11110000)>>4)) as isize);
*ptr_out.offset(4)=*ptr_alphabet.offset((((*ptr_data.offset(2)&0b00001111)<<1)|((*ptr_data.offset(3)&0b10000000)>>7)) as isize);
*ptr_out.offset(5)=*ptr_alphabet.offset(((*ptr_data.offset(3)&0b01111100)>>2) as isize);
*ptr_out.offset(6)=*ptr_alphabet.offset(((*ptr_data.offset(3)&0b00000011)<<3) as isize);
*ptr_out.offset(7)=61;
}else{
if len_in==3{
*ptr_out.offset(0)=*ptr_alphabet.offset(((*ptr_data.offset(0)&0b11111000)>>3) as isize);
*ptr_out.offset(1)=*ptr_alphabet.offset((((*ptr_data.offset(0)&0b00000111)<<2)|((*ptr_data.offset(1)&0b11000000)>>6)) as isize);
*ptr_out.offset(2)=*ptr_alphabet.offset(((*ptr_data.offset(1)&0b00111110)>>1) as isize);
*ptr_out.offset(3)=*ptr_alphabet.offset((((*ptr_data.offset(1)&0b00000001)<<4)|((*ptr_data.offset(2)&0b11110000)>>4)) as isize);
*ptr_out.offset(4)=*ptr_alphabet.offset(((*ptr_data.offset(2)&0b00001111)<<1) as isize);
*ptr_out.offset(5)=61;
*ptr_out.offset(6)=61;
*ptr_out.offset(7)=61;
}else{
if len_in==2{
*ptr_out.offset(0)=*ptr_alphabet.offset(((*ptr_data.offset(0)&0b11111000)>>3) as isize);
*ptr_out.offset(1)=*ptr_alphabet.offset((((*ptr_data.offset(0)&0b00000111)<<2)|((*ptr_data.offset(1)&0b11000000)>>6)) as isize);
*ptr_out.offset(2)=*ptr_alphabet.offset(((*ptr_data.offset(1)&0b00111110)>>1) as isize);
*ptr_out.offset(3)=*ptr_alphabet.offset(((*ptr_data.offset(1)&0b00000001)<<4) as isize);
*ptr_out.offset(4)=61;
*ptr_out.offset(5)=61;
*ptr_out.offset(6)=61;
*ptr_out.offset(7)=61;
}else{
if len_in==1{
*ptr_out.offset(0)=*ptr_alphabet.offset(((*ptr_data.offset(0)&0b11111000)>>3) as isize);
*ptr_out.offset(1)=*ptr_alphabet.offset(((*ptr_data.offset(0)&0b00000111)<<2) as isize);
*ptr_out.offset(2)=61;
*ptr_out.offset(3)=61;
*ptr_out.offset(4)=61;
*ptr_out.offset(5)=61;
*ptr_out.offset(6)=61;
*ptr_out.offset(7)=61;
}
}
}
}
}
return string;
}
pub fn b32_encode_2(ptr_input:*const u16,mut len_input:usize,ptr_alphabet:*const u8,ptr_output:*mut u8){
let mut ptr_in=ptr_input;
let mut len_in=len_input;
let mut ptr_out=ptr_output;
let mut d64:u64;
unsafe{
while len_in>=5{
d64=(*ptr_in.offset(0) as u64)<<48|
(*ptr_in.offset(1) as u64)<<32|
(*ptr_in.offset(2) as u64)<<16;
*ptr_out.offset(00)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*ptr_out.offset(01)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*ptr_out.offset(02)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*ptr_out.offset(03)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*ptr_out.offset(04)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*ptr_out.offset(05)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*ptr_out.offset(06)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*ptr_out.offset(07)=*ptr_alphabet.offset(((d64>>24)&0b11111) as isize);
ptr_out=ptr_out.offset(8);
d64=(*ptr_in.offset(2) as u64)<<56|
(*ptr_in.offset(3) as u64)<<40|
(*ptr_in.offset(4) as u64)<<24;
*ptr_out.offset(00)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*ptr_out.offset(01)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*ptr_out.offset(02)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*ptr_out.offset(03)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*ptr_out.offset(04)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*ptr_out.offset(05)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*ptr_out.offset(06)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*ptr_out.offset(07)=*ptr_alphabet.offset(((d64>>24)&0b11111) as isize);
ptr_out=ptr_out.offset(8);
ptr_in=ptr_in.offset(5);
len_in-=5;
}
if len_in >= 3{
if len_in == 3 {
d64=(*ptr_in.offset(0) as u64)<<48|
(*ptr_in.offset(1) as u64)<<32|
(*ptr_in.offset(2) as u64)<<16;
*ptr_out.offset(00)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*ptr_out.offset(01)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*ptr_out.offset(02)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*ptr_out.offset(03)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*ptr_out.offset(04)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*ptr_out.offset(05)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*ptr_out.offset(06)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*ptr_out.offset(07)=*ptr_alphabet.offset(((d64>>24)&0b11111) as isize);
*ptr_out.offset(08)=*ptr_alphabet.offset(((d64>>19)&0b11111) as isize);
*ptr_out.offset(09)=*ptr_alphabet.offset(((d64>>14)&0b11111) as isize);
*ptr_out.offset(10)=61;
*ptr_out.offset(11)=61;
*ptr_out.offset(12)=61;
*ptr_out.offset(13)=61;
*ptr_out.offset(14)=61;
*ptr_out.offset(15)=61;
}else{
d64=(*ptr_in.offset(0) as u64)<<48|
(*ptr_in.offset(1) as u64)<<32|
(*ptr_in.offset(2) as u64)<<16|
(*ptr_in.offset(3) as u64);
*ptr_out.offset(00)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*ptr_out.offset(01)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*ptr_out.offset(02)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*ptr_out.offset(03)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*ptr_out.offset(04)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*ptr_out.offset(05)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*ptr_out.offset(06)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*ptr_out.offset(07)=*ptr_alphabet.offset(((d64>>24)&0b11111) as isize);
*ptr_out.offset(08)=*ptr_alphabet.offset(((d64>>19)&0b11111) as isize);
*ptr_out.offset(09)=*ptr_alphabet.offset(((d64>>14)&0b11111) as isize);
*ptr_out.offset(10)=*ptr_alphabet.offset(((d64>>09)&0b11111) as isize);
*ptr_out.offset(11)=*ptr_alphabet.offset(((d64>>04)&0b11111) as isize);
*ptr_out.offset(12)=*ptr_alphabet.offset(((d64<<01)&0b11111) as isize);
*ptr_out.offset(13)=61;
*ptr_out.offset(14)=61;
*ptr_out.offset(15)=61;
}
}else{
if len_in == 2 {
d64=(*ptr_in.offset(0) as u64)<<48|
(*ptr_in.offset(1) as u64)<<32;
*ptr_out.offset(0)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*ptr_out.offset(1)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*ptr_out.offset(2)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*ptr_out.offset(3)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*ptr_out.offset(4)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*ptr_out.offset(5)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*ptr_out.offset(6)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*ptr_out.offset(7)=61;
}else{
d64=(*ptr_in.offset(0) as u64)<<48;
*ptr_out.offset(0)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*ptr_out.offset(1)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*ptr_out.offset(2)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*ptr_out.offset(3)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*ptr_out.offset(4)=61;
*ptr_out.offset(5)=61;
*ptr_out.offset(6)=61;
*ptr_out.offset(7)=61;
}
}
}
}
pub fn b32_encode_4(ptr_input:*const u32,len_input:usize,ptr_alphabet:*const u8,ptr_output:*mut u8){
let mut ptr_in=ptr_input;
let mut len_in=len_input;
let mut ptr_out=ptr_output;
let mut d64:u64;
unsafe{
while len_in >= 5 {
d64=(*ptr_in.offset(0) as u64)<<32|
(*ptr_in.offset(1) as u64);
*ptr_out.offset(0)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*ptr_out.offset(1)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*ptr_out.offset(2)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*ptr_out.offset(3)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*ptr_out.offset(4)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*ptr_out.offset(5)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*ptr_out.offset(6)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*ptr_out.offset(7)=*ptr_alphabet.offset(((d64>>24)&0b11111) as isize);
ptr_out=ptr_out.offset(8);
d64=d64<<40|
(*ptr_in.offset(2) as u64)<<8;
*ptr_out.offset(0)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*ptr_out.offset(1)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*ptr_out.offset(2)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*ptr_out.offset(3)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*ptr_out.offset(4)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*ptr_out.offset(5)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*ptr_out.offset(6)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*ptr_out.offset(7)=*ptr_alphabet.offset(((d64>>24)&0b11111) as isize);
ptr_out=ptr_out.offset(8);
d64=d64<<40|
(*ptr_in.offset(2) as u64)<<16;
*ptr_out.offset(0)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*ptr_out.offset(1)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*ptr_out.offset(2)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*ptr_out.offset(3)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*ptr_out.offset(4)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*ptr_out.offset(5)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*ptr_out.offset(6)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*ptr_out.offset(7)=*ptr_alphabet.offset(((d64>>24)&0b11111) as isize);
ptr_out=ptr_out.offset(8);
d64=d64<<40|
(*ptr_in.offset(3) as u64)<<24;
*ptr_out.offset(0)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*ptr_out.offset(1)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*ptr_out.offset(2)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*ptr_out.offset(3)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*ptr_out.offset(4)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*ptr_out.offset(5)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*ptr_out.offset(6)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*ptr_out.offset(7)=*ptr_alphabet.offset(((d64>>24)&0b11111) as isize);
ptr_out=ptr_out.offset(8);
ptr_in=ptr_in.offset(5);
len_in-=5;
}
if len_in >=3 {
if len_in == 3 {
d64=(*ptr_in.offset(0) as u64)<<32|
(*ptr_in.offset(1) as u64);
*ptr_out.offset(0)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*ptr_out.offset(1)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*ptr_out.offset(2)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*ptr_out.offset(3)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*ptr_out.offset(4)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*ptr_out.offset(5)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*ptr_out.offset(6)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*ptr_out.offset(7)=*ptr_alphabet.offset(((d64>>24)&0b11111) as isize);
ptr_out=ptr_out.offset(8);
d64=d64<<40|
(*ptr_in.offset(1) as u64)<<8;
*ptr_out.offset(0)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*ptr_out.offset(1)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*ptr_out.offset(2)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*ptr_out.offset(3)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*ptr_out.offset(4)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*ptr_out.offset(5)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*ptr_out.offset(6)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*ptr_out.offset(7)=*ptr_alphabet.offset(((d64>>24)&0b11111) as isize);
ptr_out=ptr_out.offset(8);
*ptr_out.offset(0)=*ptr_alphabet.offset(((d64>>19)&0b11111) as isize);
*ptr_out.offset(1)=*ptr_alphabet.offset(((d64>>14)&0b11111) as isize);
*ptr_out.offset(2)=*ptr_alphabet.offset(((d64>>09)&0b11111) as isize);
*ptr_out.offset(3)=*ptr_alphabet.offset(((d64>>04)&0b11111) as isize);
*ptr_out.offset(4)=61;
*ptr_out.offset(5)=61;
*ptr_out.offset(6)=61;
*ptr_out.offset(7)=61;
}else{
d64=(*ptr_in.offset(0) as u64)<<32|
(*ptr_in.offset(1) as u64);
*ptr_out.offset(0)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*ptr_out.offset(1)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*ptr_out.offset(2)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*ptr_out.offset(3)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*ptr_out.offset(4)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*ptr_out.offset(5)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*ptr_out.offset(6)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*ptr_out.offset(7)=*ptr_alphabet.offset(((d64>>24)&0b11111) as isize);
ptr_out=ptr_out.offset(8);
d64=d64<<40|
(*ptr_in.offset(2) as u64)<<8;
*ptr_out.offset(0)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*ptr_out.offset(1)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*ptr_out.offset(2)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*ptr_out.offset(3)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*ptr_out.offset(4)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*ptr_out.offset(5)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*ptr_out.offset(6)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*ptr_out.offset(7)=*ptr_alphabet.offset(((d64>>24)&0b11111) as isize);
ptr_out=ptr_out.offset(8);
d64=d64<<40|
(*ptr_in.offset(2) as u64)<<16;
*ptr_out.offset(0)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*ptr_out.offset(1)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*ptr_out.offset(2)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*ptr_out.offset(3)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*ptr_out.offset(4)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*ptr_out.offset(5)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*ptr_out.offset(6)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*ptr_out.offset(7)=*ptr_alphabet.offset(((d64>>24)&0b11111) as isize);
ptr_out=ptr_out.offset(8);
*ptr_out.offset(0)=*ptr_alphabet.offset(((d64>>19)&0b11111) as isize);
*ptr_out.offset(1)=*ptr_alphabet.offset(((d64>>14)&0b11111) as isize);
*ptr_out.offset(2)=61;
*ptr_out.offset(3)=61;
*ptr_out.offset(4)=61;
*ptr_out.offset(5)=61;
*ptr_out.offset(6)=61;
*ptr_out.offset(7)=61;
}
}else{
if len_in == 2 {
d64=(*ptr_in.offset(0) as u64)<<32|
(*ptr_in.offset(1) as u64);
*ptr_out.offset(0)=*ptr_alphabet.offset(((d64>>59)&0b11111) as isize);
*ptr_out.offset(1)=*ptr_alphabet.offset(((d64>>54)&0b11111) as isize);
*ptr_out.offset(2)=*ptr_alphabet.offset(((d64>>49)&0b11111) as isize);
*ptr_out.offset(3)=*ptr_alphabet.offset(((d64>>44)&0b11111) as isize);
*ptr_out.offset(4)=*ptr_alphabet.offset(((d64>>39)&0b11111) as isize);
*ptr_out.offset(5)=*ptr_alphabet.offset(((d64>>34)&0b11111) as isize);
*ptr_out.offset(6)=*ptr_alphabet.offset(((d64>>29)&0b11111) as isize);
*ptr_out.offset(7)=*ptr_alphabet.offset(((d64>>24)&0b11111) as isize);
ptr_out=ptr_out.offset(8);
*ptr_out.offset(0)=*ptr_alphabet.offset(((d64>>19)&0b11111) as isize);
*ptr_out.offset(1)=*ptr_alphabet.offset(((d64>>14)&0b11111) as isize);
*ptr_out.offset(2)=*ptr_alphabet.offset(((d64>>09)&0b11111) as isize);
*ptr_out.offset(3)=*ptr_alphabet.offset(((d64>>04)&0b11111) as isize);
*ptr_out.offset(4)=*ptr_alphabet.offset(((d64<<01)&0b11111) as isize);
*ptr_out.offset(5)=61;
*ptr_out.offset(6)=61;
*ptr_out.offset(7)=61;
}else{
d64=*ptr_in.offset(0) as u64;
*ptr_out.offset(0)=*ptr_alphabet.offset(((d64>>27)&0b11111) as isize);
*ptr_out.offset(1)=*ptr_alphabet.offset(((d64>>22)&0b11111) as isize);
*ptr_out.offset(2)=*ptr_alphabet.offset(((d64>>17)&0b11111) as isize);
*ptr_out.offset(3)=*ptr_alphabet.offset(((d64>>12)&0b11111) as isize);
*ptr_out.offset(4)=*ptr_alphabet.offset(((d64>>07)&0b11111) as isize);
*ptr_out.offset(5)=*ptr_alphabet.offset(((d64>>02)&0b11111) as isize);
*ptr_out.offset(6)=*ptr_alphabet.offset(((d64<<03)&0b11111) as isize);
*ptr_out.offset(7)=61;
}
}
}
}
pub fn b32_encode_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;
}