pub fn new(buf: &'a mut Vec<u8>) -> Self {
        Self {
            buf,
            octets_written: 0,
        }
    }
/// Constructs a new `OptBuilder` that will serialize EDNS options
/// into the provided buffer.
Constructs a new `OptBuilder` that will serialize EDNS options
into the provided buffer.
Constructs a new ` OptBuilder ` that will serialize EDNS options into the provided buffer .
pub fn new(buf: &'a mut Vec<u8>) -> Self {
        Self {
            buf,
            octets_written: 0,
        }
    }
pub fn new ( buf : & ' a mut Vec < u8 > ) -> Self { Self { buf , octets_written : 0 , } }
Constructs a new `OptBuilder` that will serialize EDNS options
into the provided buffer.
Constructs a new ` OptBuilder ` that will serialize EDNS options into the provided buffer .
buf
&'a mut Vec<u8>
buf
&'a mut Vec<u8>