Repository navigation
Write binary text to a buffer writer - #141
Conversation
There was a problem hiding this comment.
🤖 NCode Review at bd5641d: 6 new findings on the changed lines.
|
Superseded by the review at d50634d. |
… so each clause follows what it describes
|
/review |
|
Superseded by the review at d50634d. |
|
/review |
There was a problem hiding this comment.
🤖 NCode Review at d50634d: 5 new findings on the changed lines.
There was a problem hiding this comment.
Approved at d50634d: no blocker or should-fix finding remains.
|
Superseded by the review at 0c91d11. |
|
/review |
There was a problem hiding this comment.
Approved at 0c91d11: no blocker or should-fix finding remains.
🤖 Review completeVerdict: ✅ Approve — Re-review of what changed since the last review at d50634d: 2 hunks in 2 files and changes taken back in 2 files, by correctness only. Earlier findings: F1 answered, F2 answered, F3 answered, F4 fixed, F5 fixed. No further findings above nits. Approval: Approved — no blocker or should-fix finding remains. 1 reviewer run — 0 findings (run details)
Trial: findings are posted as review threads and in the check run. $0.08 on Amazon Bedrock, 12s, at 0c91d11. (how to interact) 📋 OutcomesMerged at 0c91d11: 7 fixed, 4 dismissed, 0 acknowledged, 0 ignored.
|
Adds
BinaryTextEncoding.WriteEncodedandWriteDecoded, which write encoded text or decoded bytes in everyBinaryTextFormat, from a span or aReadOnlySequence<T>, with oneGetSpanand oneAdvance, and return the number of elements written. They write to a caller'sIBufferWriter<T>, or, through a genericref TWriteroverload constrainedallows ref struct, to a writer of any type: a ref struct such asFixedSpanBufferWriter<T>, a mutable struct, or astackallocspan throughGetFixedBufferWriter().FormatExceptionwithRentDecoded's messages, leaves the writer unadvanced, and zeroes the whole span the writer handed out.Secret.Create<T, TState>takes a ref struct state, such as aReadOnlySpan<T>, andPooledTextBuilder.Append<T>formats a ref struct value.AGENTS.mdnames ADR-1034 under Conventions.Protected paths changed:
AGENTS.md
Release: v5.6.0
Closes #140