- Methods
Also, see use cases in the Usage section of readme.
Parses the given .osu file, then returns parsed Beatmap.
Beatmap beatmap = BeatmapDecoder.Decode(@"pathToBeatmap.osu");
Parses the given array containing beatmap data, then returns parsed Beatmap.
Beatmap beatmap = BeatmapDecoder.Decode(File.ReadAllLines(@"pathToBeatmap.osu"));
Parses the given stream containing beatmap data, then returns parsed Beatmap.
Beatmap beatmap = BeatmapDecoder.Decode(new FileStream(@"pathToBeatmap.osu", FileMode.Open, FileAccess.Read));
Parses the given .osb file, then returns parsed Storyboard.
Storyboard storyboard = StoryboardDecoder.Decode(@"pathToStoryboard.osb");
Parses the given array containing storyboard data, then returns parsed Storyboard.
Storyboard storyboard = StoryboardDecoder.Decode(File.ReadAllLines(@"pathToStoryboard.osb"));
Parses the given stream containing storyboard data, then returns parsed Storyboard.
Storyboard storyboard = StoryboardDecoder.Decode(new FileStream(@"pathToStoryboard.osb", FileMode.Open, FileAccess.Read));
Parses the given .osr file, then returns the parsed Replay.
Replay replay = ReplayDecoder.Decode(@"pathToReplay.osr");
Parses the given stream containing replay data, then returns the parsed Replay.
Replay replay = ReplayDecoder.Decode(new FileStream(@"pathToReplay.osr", FileMode.Open, FileAccess.Read));
Parses the given osu!.db file, then returns parsed OsuDatabase.
OsuDatabase osuDatabase = DatabaseDecoder.DecodeOsu(@"pathToOsuDatabase.osb");
Parses the given stream containing osu!.db data, then returns parsed OsuDatabase.
OsuDatabase osuDatabase = DatabaseDecoder.DecodeOsu(new FileStream(@"pathToOsuDatabase.osb", FileMode.Open, FileAccess.Read));
Parses the given collection.db file, then returns parsed CollectionDatabase.
CollectionDatabase collectionDatabase = DatabaseDecoder.DecodeCollection(@"pathToCollectionDb.db");
Parses the given stream containing collection.db data, then returns parsed CollectionDatabase.
CollectionDatabase collectionDatabase = DatabaseDecoder.DecodeCollection(new FileStream(@"pathToCollectionDb.db", FileMode.Open, FileAccess.Read));
Parses the given stream containing scores.db data, then returns parsed ScoresDatabase.
ScoresDatabase scoresDatabase = DatabaseDecoder.DecodeScores(@"pathToScoresDb.db");
Parses the given scores.db file, then returns parsed ScoresDatabase.
ScoresDatabase scoresDatabase = DatabaseDecoder.DecodeScores(new FileStream(@"pathToScoresDb.db", FileMode.Open, FileAccess.Read));
Parses the given presence.db file, then returns the parsed PresenceDatabase.
PresenceDatabase presenceDatabase = DatabaseDecoder.DecodePresence(@"pathToPresenceDb.db");
Parses the given stream containing presence.db data, then returns the parsed PresenceDatabase.
PresenceDatabase presenceDatabase = DatabaseDecoder.DecodePresence(new FileStream(@"pathToPresenceDb.db", FileMode.Open, FileAccess.Read));