You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/MessagePack.UnityClient/Assets/Scripts/MessagePack/MessagePackSerializer.cs
+2-3Lines changed: 2 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,6 @@ namespace MessagePack
18
18
[System.Diagnostics.CodeAnalysis.SuppressMessage("ApiDesign","RS0026:Do not add multiple public overloads with optional parameters",Justification="Each overload has sufficiently unique required parameters.")]
/// Gets a value indicating whether to serialize with <see cref="MessagePackWriter.OldSpec"/> set to some value
97
108
/// causing messagepack spec compliance to be explicitly set to the old or new format.
@@ -227,6 +238,28 @@ public MessagePackSerializerOptions WithCompressionMinLength(int compressionMinL
227
238
returnresult;
228
239
}
229
240
241
+
/// <summary>
242
+
/// Gets a copy of these options with the <see cref="SuggestedContiguousMemorySize"/> property set to a new value.
243
+
/// </summary>
244
+
/// <param name="suggestedContiguousMemorySize">The new value for the <see cref="SuggestedContiguousMemorySize"/> property. Must be at least 256.</param>
245
+
/// <returns>The new instance; or the original if the value is unchanged.</returns>
0 commit comments