Skip to content

Commit

Permalink
Fix nullability warning
Browse files Browse the repository at this point in the history
  • Loading branch information
SamboyCoding committed Jul 19, 2022
1 parent 33ed2ab commit 520b67b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Fmod5Sharp/BitStreams/BitStream.cs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public static BitStream Create(byte[] buffer, Encoding encoding, bool MSB = fals
/// <param name="path">File path</param>
/// <param name="encoding">Encoding of the file, if null default <see cref="Encoding"/> will be used</param>
/// <returns></returns>
public static BitStream CreateFromFile(string path, Encoding encoding = null)
public static BitStream CreateFromFile(string path, Encoding? encoding = null)
{
if (!File.Exists(path))
{
Expand Down

0 comments on commit 520b67b

Please sign in to comment.