Changed CSMBFileReader.Read to static method

This commit is contained in:
miku-666
2022-11-02 14:09:45 +01:00
parent 378daf9b80
commit bdc420ca43

View File

@@ -6,10 +6,11 @@ namespace PckStudio.Classes.IO.CSMB
{
internal class CSMBFileReader : StreamDataReader
{
public CSMBFile Read(Stream stream)
public static CSMBFile Read(Stream stream)
{
return new CSMBFileReader().ReadFromStream(stream);
}
private CSMBFileReader() : base(false)
{ }