We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 659674d commit baea5cbCopy full SHA for baea5cb
SabreTools.IO/Extensions/StreamExtensions.cs
@@ -12,7 +12,7 @@ public static class StreamExtensions
12
/// <param name="input">Input stream to try aligning</param>
13
/// <param name="alignment">Number of bytes to align on</param>
14
/// <returns>True if the stream could be aligned, false otherwise</returns>
15
- public static bool AlignToBoundary(this Stream? input, byte alignment)
+ public static bool AlignToBoundary(this Stream? input, int alignment)
16
{
17
// If the stream is invalid
18
if (input == null || input.Length == 0 || !input.CanRead)
0 commit comments