Mark EnsureFixedContents() as obsolete
This commit is contained in:
parent
4fa7e16050
commit
8e944f86d0
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue