Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
kayoub5 committed Oct 1, 2024
1 parent 5df8f1d commit b2acced
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SharpPcap/LibPcap/LibPcapSafeNativeMethods.Encoding.cs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public override string ToString()
{
nbBytes++;
}
return LibPcapSafeNativeMethods.StringEncoding.GetString(new Span<byte>(Data, 0, nbBytes));
return LibPcapSafeNativeMethods.StringEncoding.GetString(Data, 0, nbBytes);
}
}
}

0 comments on commit b2acced

Please sign in to comment.