Add missing length-delimiter to protobuf code for Encoding interface