BurntSushi/byteorder
Vedi su GitHubFeature request: Add write_uXX_from to WriteBytesExt trait
Open
#155 aperta il 8 nov 2019
enhancementhelp wanted
Metriche repository
- Star
- (1080 star)
- Metriche merge PR
- (Nessuna PR mergiata in 30 g)
Descrizione
I write some kind of protocol parser and I use next code to read protocol data:
reader.read_u32_into::<LittleEndian>(&mut buffer);
I would like to use the same logic for writer:
writer.write_u32_from::<LittleEndian>(&buffer);
Is that already possible? Or it needs implementation?