mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Use new IO byte array extensions
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
using System.IO;
|
||||
using System.Collections.Generic;
|
||||
using Microsoft.Data.Sqlite;
|
||||
using SabreTools.Core.Tools;
|
||||
using SabreTools.Hashing;
|
||||
using SabreTools.Help;
|
||||
using SabreTools.IO;
|
||||
using SabreTools.IO.Extensions;
|
||||
using SabreTools.Skippers;
|
||||
|
||||
namespace Headerer.Features
|
||||
@@ -91,7 +91,7 @@ The following systems have headers that this program can work with:
|
||||
int startOffset = int.Parse(rule.StartOffset ?? "0");
|
||||
byte[] hbin = new byte[startOffset];
|
||||
fs.Read(hbin, 0, startOffset);
|
||||
hstr = TextHelper.ByteArrayToString(hbin)!;
|
||||
hstr = ByteArrayExtensions.ByteArrayToString(hbin)!;
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user