PemEncoding.TryWriteUtf8 Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
static bool TryWriteUtf8(ReadOnlySpan<System::Byte> utf8Label, ReadOnlySpan<System::Byte> data, Span<System::Byte> destination, [Runtime::InteropServices::Out] int % bytesWritten);
public static bool TryWriteUtf8(ReadOnlySpan<byte> utf8Label, ReadOnlySpan<byte> data, Span<byte> destination, out int bytesWritten);
static member TryWriteUtf8 : ReadOnlySpan<byte> * ReadOnlySpan<byte> * Span<byte> * int -> bool
Public Shared Function TryWriteUtf8 (utf8Label As ReadOnlySpan(Of Byte), data As ReadOnlySpan(Of Byte), destination As Span(Of Byte), ByRef bytesWritten As Integer) As Boolean
Parameters
- utf8Label
- ReadOnlySpan<Byte>
- data
- ReadOnlySpan<Byte>
- bytesWritten
- Int32
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.