Skip to content

Commit 520b67b

Browse files
committed
Fix nullability warning
1 parent 33ed2ab commit 520b67b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Fmod5Sharp/BitStreams/BitStream.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ public static BitStream Create(byte[] buffer, Encoding encoding, bool MSB = fals
151151
/// <param name="path">File path</param>
152152
/// <param name="encoding">Encoding of the file, if null default <see cref="Encoding"/> will be used</param>
153153
/// <returns></returns>
154-
public static BitStream CreateFromFile(string path, Encoding encoding = null)
154+
public static BitStream CreateFromFile(string path, Encoding? encoding = null)
155155
{
156156
if (!File.Exists(path))
157157
{

0 commit comments

Comments
 (0)