Table of Contents

Method AreNextBytesEqualTo

Namespace
PaintDotNet.IO
Assembly
PaintDotNet.Fundamentals.dll

AreNextBytesEqualTo(Stream, byte[])

public static bool AreNextBytesEqualTo(this Stream stream, byte[] nextBytes)

Parameters

stream Stream
nextBytes byte[]

Returns

bool

AreNextBytesEqualTo(Stream, byte[], Func<byte, byte, bool>)

public static bool AreNextBytesEqualTo(this Stream stream, byte[] nextBytes, Func<byte, byte, bool> comparer)

Parameters

stream Stream
nextBytes byte[]
comparer Func<byte, byte, bool>

Returns

bool