hadashiA / VYaml

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

ByteArrayFormatter #49

Closed IXLLEGACYIXL closed 11 months ago

IXLLEGACYIXL commented 1 year ago

https://github.com/hadashiA/VYaml/blob/master/VYaml.Core/Serialization/Formatters/ByteArrayFormatter.cs#L33

Im currently Customizing VYaml to my own version.

I ran into the issue when deserializing a value after a byte array it throws an argument out of range exception the Fix was on line 33

            var str = parser.GetScalarAsString();
            parser.Read();

to add a read after the scalar