Skip to content

Replace constant Encoding.GetBytes calls with raw byte strings - #1453

Merged
markheath merged 1 commit into
naudio:mainfrom
Seb-stian:feature/const-encoding-getbytes
Sep 20, 2026
Merged

markheath merged 1 commit into
naudio:mainfrom
Seb-stian:feature/const-encoding-getbytes

Conversation

@Seb-stian

Copy link
Copy Markdown
Contributor

Summary

Whenever there is a call such as Encoding.GetBytes("<string literal>"), replace it with "<string literal>"u8.

Release notes

  • I've added a one-line bullet to the ### Unreleased section of RELEASE_NOTES.md
  • This PR doesn't need a release-notes entry (internal refactor, test-only, or docs fix)
  • Leave the release-notes entry for the maintainer to write

Testing

All tests passing.

@markheath
markheath merged commit e1836c1 into naudio:main Sep 20, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants