the rest of the functions wrapped with macro
This commit is contained in:
		
							parent
							
								
									c492cfab6b
								
							
						
					
					
						commit
						b79a2534fc
					
				
					 7 changed files with 485 additions and 485 deletions
				
			
		| 
						 | 
				
			
			@ -35,7 +35,7 @@ impl ByteSlice {
 | 
			
		|||
        unsafe { std::slice::from_raw_parts(self.start, self.length) }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    pub(crate) unsafe fn as_slice_mut(&mut self) -> &mut [u8] {
 | 
			
		||||
    pub(crate) unsafe fn as_slice_mut(&self) -> &mut [u8] {
 | 
			
		||||
        unsafe { std::slice::from_raw_parts_mut(self.start, self.length) }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue