pub fn segment_to_wire(segment: &EccSegment) -> Vec<u8> ⓘ
Wire bytes: [type:u8][codec:u8][payload...].
[type:u8][codec:u8][payload...]