pub fn localized_payload_with_buffer<E: Encode>(
    round: RoundNumber,
    set_id: SetId,
    message: &E,
    buf: &mut Vec<u8>,
) {
    buf.clear();
    (message, round, set_id).encode_to(buf)
}
/// Encode round message localized to a given round and set id using the given
/// buffer. The given buffer will be cleared and the resulting encoded payload
/// will always be written to the start of the buffer.
Encode round message localized to a given round and set id using the given
buffer. The given buffer will be cleared and the resulting encoded payload
will always be written to the start of the buffer.
Encode round message localized to a given round and set id using the given buffer . The given buffer will be cleared and the resulting encoded payload will always be written to the start of the buffer .
pub fn localized_payload_with_buffer<E: Encode>(
    round: RoundNumber,
    set_id: SetId,
    message: &E,
    buf: &mut Vec<u8>,
) {
    buf.clear();
    (message, round, set_id).encode_to(buf)
}
pub fn localized_payload_with_buffer < E : Encode > ( round : RoundNumber , set_id : SetId , message : & E , buf : & mut Vec < u8 > , ) { buf . clear ( ) ; ( message , round , set_id ) . encode_to ( buf ) }
Encode round message localized to a given round and set id using the given
buffer.
Encode round message localized to a given round and set id using the given buffer .
round
RoundNumber
set_id
SetId
message
&E
buf
&mut Vec<u8>
round
RoundNumber
set_id
SetId
message
&E
buf
&mut Vec<u8>