PdfEncodingExtensionsGetString Method |
Decodes a sequence of bytes from the specified byte array into a string.
Namespace: SautinSoft.Pdf.TextAssembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2025.11.10
Syntaxpublic static string GetString(
this IPdfEncoding encoding,
byte[] bytes
)
<ExtensionAttribute>
Public Shared Function GetString (
encoding As IPdfEncoding,
bytes As Byte()
) As String
Parameters
- encoding IPdfEncoding
- The encoding.
- bytes Byte
- The byte array containing the sequence of bytes to decode.
Return Value
StringA string that contains the results of decoding the specified sequence of bytes.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IPdfEncoding. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also