pub fn serialize_hinfo(cpu: &CharacterString, os: &CharacterString, buf: &mut Vec<u8>) {
    buf.reserve(2 + cpu.len() + os.len());
    buf.push(cpu.len() as u8);
    buf.extend_from_slice(cpu);
    buf.push(os.len() as u8);
    buf.extend_from_slice(os);
}
/// Serializes an HINFO record into the provided buffer.
Serializes an HINFO record into the provided buffer.
Serializes an HINFO record into the provided buffer .
pub fn serialize_hinfo(cpu: &CharacterString, os: &CharacterString, buf: &mut Vec<u8>) {
    buf.reserve(2 + cpu.len() + os.len());
    buf.push(cpu.len() as u8);
    buf.extend_from_slice(cpu);
    buf.push(os.len() as u8);
    buf.extend_from_slice(os);
}
pub fn serialize_hinfo ( cpu : & CharacterString , os : & CharacterString , buf : & mut Vec < u8 > ) { buf . reserve ( 2 + cpu . len ( ) + os . len ( ) ) ; buf . push ( cpu . len ( ) as u8 ) ; buf . extend_from_slice ( cpu ) ; buf . push ( os . len ( ) as u8 ) ; buf . extend_from_slice ( os ) ; }
Serializes an HINFO record into the provided buffer.
Serializes an HINFO record into the provided buffer .
cpu
&CharacterString
os
&CharacterString
buf
&mut Vec<u8>
cpu
&CharacterString
os
&CharacterString
buf
&mut Vec<u8>