How to convert string to ReadOnlyMemory<byte>? #1273
Closed
pigLoveRabbit520
started this conversation in
General
Replies: 1 comment 5 replies
-
https://github.com/rabbitmq/rabbitmq-dotnet-client/search?q=BasicPublish&type=code rabbitmq-dotnet-client/projects/Unit/TestBasicPublish.cs Lines 23 to 35 in 99a2b69 |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
via
str.AsMemory()
, I gotReadOnlyMemory<char>
, any method to getReadOnlyMemory<byte>
?Beta Was this translation helpful? Give feedback.
All reactions