Skip to content

v3.7.0

Choose a tag to compare

@linkdotnet linkdotnet released this 19 Sep 19:46

Added

  • FixedSizeValueStringBuilder: a non-growing ref struct string builder backed by a caller-supplied buffer that never allocates on the heap. Appends are atomic and the first one that does not fit latches Overflowed, which ClearOverflow resets.
  • FixedSizeValueStringBuilder.MoveToValueStringBuilder: hands the buffer and its content over to a ValueStringBuilder which can grow beyond the fixed capacity. The move copies nothing and rents nothing, and consumes the source so both builders can never write into the same memory.