/// Create an ancillary data with the given buffer.
///
/// # Example
///
/// ```no_run
/// use tokio_seqpacket::ancillary::SocketAncillary;
/// let mut ancillary_buffer = [0; 128];
/// let mut ancillary = SocketAncillary::new(&mut ancillary_buffer[..]);
/// ```
Create an ancillary data with the given buffer.
Create an ancillary data with the given buffer .
pub fn new(buffer: &'a mut [u8]) -> Self {
		SocketAncillary {
			buffer,
			length: 0,
			truncated: false,
		}
	}
pub fn new ( buffer : & ' a mut [ u8 ] ) -> Self { SocketAncillary { buffer , length : 0 , truncated : false , } }
Create an ancillary data with the given buffer.
Create an ancillary data with the given buffer .
buffer
&'a mut [u8]
example
```no_run
use tokio_seqpacket::ancillary::SocketAncillary;
let mut ancillary_buffer = [0; 128];
let mut ancillary = SocketAncillary::new(&mut ancillary_buffer[..]);
```
` ` ` no_run use tokio_seqpacket :: ancillary :: SocketAncillary ; let mut ancillary_buffer = [ 0 ; 128 ] ; let mut ancillary = SocketAncillary :: new ( &mut ancillary_buffer [ .. ] ) ; ` ` `