• François Laignel's avatar
    Buffer: serde: add a TODO for a future better design attempt · 68263ffc
    François Laignel authored
    Serialization and deserialization are asymetrical: ser uses string literals
    and de uses a dedicated `struct`, leading to possible inconsistencies.
    
    The idea is to rely on a single `struct` for both ser and de. The only
    problem is that, in order to avoid unneeded copies, `buffer` requires an owned
    `ByteBuf` for de and a borrowed `Bytes` for ser. `Either` could help adapting
    to both situations.
    68263ffc
Name
Last commit
Last update
docs Loading commit data...
examples Loading commit data...
gir-files Loading commit data...
gstreamer Loading commit data...
gstreamer-app Loading commit data...
gstreamer-audio Loading commit data...
gstreamer-base Loading commit data...
gstreamer-net Loading commit data...
gstreamer-pbutils Loading commit data...
gstreamer-player Loading commit data...
gstreamer-rtsp Loading commit data...
gstreamer-rtsp-server Loading commit data...
gstreamer-sdp Loading commit data...
gstreamer-video Loading commit data...
gstreamer-webrtc Loading commit data...
tutorials Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
Cargo.toml Loading commit data...
Gir_Gst.toml Loading commit data...
Gir_GstApp.toml Loading commit data...
Gir_GstAudio.toml Loading commit data...
Gir_GstBase.toml Loading commit data...
Gir_GstNet.toml Loading commit data...
Gir_GstPbutils.toml Loading commit data...
Gir_GstPlayer.toml Loading commit data...
Gir_GstRtsp.toml Loading commit data...
Gir_GstRtspServer.toml Loading commit data...
Gir_GstSdp.toml Loading commit data...
Gir_GstVideo.toml Loading commit data...
Gir_GstWebRTC.toml Loading commit data...
LICENSE-APACHE Loading commit data...
LICENSE-MIT Loading commit data...
README.md Loading commit data...