-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use BinaryPrimitives for
ObjectDataBuilder
primitive emit logic (#1…
…02394) * Add ArrayBuilder.Append(ROS<T>) - Only for .NET because of NS2.0 projects use it too: Microsoft.NET.HostModel and ILVerification * Use BinaryPrimitives to emit integer primitives in ObjectDataBuilder * Use BinaryPrimitives to emit reserved integer primitives in ObjectDataBuilder * Add ArrayBuilder.AsSpan overload to make this possible * Mark some ArrayBuilder members as readonly * Ask ArrayBuilder for a buffer instead of stackalloc + append * Follow ValueStringBuilder's AppendSpan implementation * Don't inline ArrayBuilder resize * This follows ValueStringBuilder and other buffer builder types.
- Loading branch information
1 parent
0d8c6b7
commit 5474ab5
Showing
2 changed files
with
36 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters