Skip to content

Commit

Permalink
Remove redundant GetBytesUnsafe call.
Browse files Browse the repository at this point in the history
  • Loading branch information
Washi1337 committed Nov 27, 2022
1 parent baf25ac commit 533a911
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace AsmResolver.DotNet.Builder.Metadata.Strings
{
public StringsStreamBlob(Utf8String blob, bool isFixed)
{
Blob = blob.GetBytesUnsafe();
Blob = blob;
Flags = isFixed
? StringsStreamBlobFlags.ZeroTerminated | StringsStreamBlobFlags.Fixed
: StringsStreamBlobFlags.ZeroTerminated;
Expand Down

0 comments on commit 533a911

Please sign in to comment.