mirror of
https://github.com/ppy/osu.git
synced 2025-01-06 16:33:53 +08:00
Changed variable names
This commit is contained in:
parent
57944bd335
commit
877bd7837a
@ -137,15 +137,15 @@ namespace osu.Game.Tests.Beatmaps.Formats
|
||||
{
|
||||
var legacyDecoded = new LegacyBeatmapDecoder { ApplyOffsets = false }.Decode(sr);
|
||||
|
||||
using (var ms = new MemoryStream())
|
||||
using (var sw = new StreamWriter(ms))
|
||||
using (var sr2 = new LineBufferedReader(ms))
|
||||
using (var memStream = new MemoryStream())
|
||||
using (var memWriter = new StreamWriter(memStream))
|
||||
using (var memReader = new LineBufferedReader(memStream))
|
||||
{
|
||||
sw.Write(legacyDecoded.Serialize());
|
||||
sw.Flush();
|
||||
memWriter.Write(legacyDecoded.Serialize());
|
||||
memWriter.Flush();
|
||||
|
||||
ms.Position = 0;
|
||||
decoder = Decoder.GetDecoder<Beatmap>(sr2);
|
||||
memStream.Position = 0;
|
||||
decoder = Decoder.GetDecoder<Beatmap>(memReader);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user