a bunch of minor changes combined:
- From instead of Into - unsafe_data_ref for other payloads - CByteSlice for returning memory spans - send Packet instead of Into<Packet> - expose packet layer to C/C#
This commit is contained in:
		
							parent
							
								
									5803b71f3a
								
							
						
					
					
						commit
						1dad113ca1
					
				
					 33 changed files with 462 additions and 733 deletions
				
			
		| 
						 | 
				
			
			@ -36,7 +36,7 @@ fn main() {
 | 
			
		|||
        let bit_vec = BitVec::from(&*pixel_data);
 | 
			
		||||
 | 
			
		||||
        connection
 | 
			
		||||
            .send(Command::BitmapLinearAnd(0, bit_vec, CompressionCode::Gz))
 | 
			
		||||
            .send(Command::BitmapLinearAnd(0, bit_vec, CompressionCode::Gz).into())
 | 
			
		||||
            .unwrap();
 | 
			
		||||
        thread::sleep(sleep_duration);
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue