Skip to content

Commit c5d4f7e

Browse files
committed
code format
1 parent bc219a1 commit c5d4f7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MemoryPack.Core/MemoryPackWriter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ public void WriteString(string? value)
170170
ref var dest = ref GetSpanReference(copyByteCount + 4);
171171
Unsafe.WriteUnaligned(ref dest, value.Length);
172172

173-
if(copyByteCount > 0)
173+
if (copyByteCount > 0)
174174
{
175175
ref var src = ref Unsafe.As<char, byte>(ref Unsafe.AsRef(value.GetPinnableReference()));
176176
Unsafe.CopyBlockUnaligned(ref Unsafe.Add(ref dest, 4), ref src, (uint)copyByteCount);

0 commit comments

Comments
 (0)