alopezlago / YetAnotherPacketParser

A parser to convert quiz bowl packets to different file formats
Other
8 stars 0 forks source link

Add a PacketConverter.ConvertPacketAsync method for just single files #12

Closed alopezlago closed 2 years ago

alopezlago commented 3 years ago

We should add a PacketConverter.ConvertPacketAsync(string filename, IPacketConverterOptions options) method that returns an ConvertResult. This should make it easier to use the API for most use-cases, since we only need the IEnumerable because of the zip file support.

We should also consider adding ConvertPacketsAsync version that takes a filename, and a ConvertPacketAsync version that takes in a Stream.

alopezlago commented 2 years ago

This will be added in the next release.