Mark EnsureFixedContents() as obsolete
This commit is contained in:
parent
4fa7e16050
commit
8e944f86d0
|
@ -472,6 +472,7 @@ namespace Kaitai
|
|||
/// </summary>
|
||||
/// <param name="expected">The expected result</param>
|
||||
/// <returns></returns>
|
||||
[Obsolete("use explicit \"if\" using ByteArrayCompare method instead")]
|
||||
public byte[] EnsureFixedContents(byte[] expected)
|
||||
{
|
||||
byte[] bytes = ReadBytes(expected.Length);
|
||||
|
|
Loading…
Reference in New Issue