public ReadScore ( ) : AlphaTab.Model.Score | ||
Результат | AlphaTab.Model.Score |
private void Tex(string contents) { try { var parser = new AlphaTexImporter(); var data = ByteBuffer.FromBuffer(Std.StringToByteArray(contents)); parser.Init(data); _trackIndexes = new[] { 0 }; ScoreLoaded(parser.ReadScore()); } catch (Exception e) { Error(e); } }
public override void Tex(string contents) { try { var parser = new AlphaTexImporter(); var data = ByteBuffer.FromBuffer(Std.StringToByteArray(contents)); parser.Init(data); ScoreLoaded(parser.ReadScore()); } catch (Exception e) { console.error(e); } }
private Score ParseTex(string tex) { var import = new AlphaTexImporter(); import.Init(new StreamWrapper(new MemoryStream(Encoding.UTF8.GetBytes(tex)))); return import.ReadScore(); }
public override void Tex(string contents) { var parser = new AlphaTexImporter(); var data = ByteBuffer.FromBuffer(Std.StringToByteArray(contents)); parser.Init(data); ScoreLoaded(parser.ReadScore()); }