hadashiA / VYaml

The extra fast, low memory footprint YAML library for C#, focued on .NET and Unity.
MIT License
295 stars 16 forks source link

Feature Request: Async Serialize #74

Open IXLLEGACYIXL opened 6 months ago

IXLLEGACYIXL commented 6 months ago

as there allready exists an async deserialize a async serialize would be good to have

also a serialize to stream would be good to have like

        public static void Serialize<T>(T value, Stream stream,YamlSerializerOptions? options = null)
        {
            stream.Write(Serialize(value, options).Span);
        }