Mark EnsureFixedContents() as obsolete

This commit is contained in:
Petr Pucil 2020-10-03 18:00:19 +02:00
parent 4fa7e16050
commit 8e944f86d0
1 changed files with 1 additions and 0 deletions

View File

@ -472,6 +472,7 @@ namespace Kaitai
/// </summary> /// </summary>
/// <param name="expected">The expected result</param> /// <param name="expected">The expected result</param>
/// <returns></returns> /// <returns></returns>
[Obsolete("use explicit \"if\" using ByteArrayCompare method instead")]
public byte[] EnsureFixedContents(byte[] expected) public byte[] EnsureFixedContents(byte[] expected)
{ {
byte[] bytes = ReadBytes(expected.Length); byte[] bytes = ReadBytes(expected.Length);