Name
Decoder
Synopsis
This class converts byte arrays to character arrays
using the encoding class from which it was constructed (a decoder is
returned by the GetDecoder()
method of an Encoding
subclass). Decoder
saves its state between calls to GetChars()
, so leftover bytes from previous input
byte arrays are remembered and used in subsequent calls.
Public MustInherit Class Decoder ' Protected Constructors Protected Sub New() ' Public Instance Methods MustInherit Public Function GetCharCount( ByVal bytes As Byte(), ByVal index As Integer, ByVal count As Integer) As Integer MustInherit Public Function GetChars(ByVal bytes As Byte(), ByVal byteIndex As Integer, ByVal byteCount As Integer, ByVal chars As Char(), ByVal charIndex As Integer) As Integer End Class
Returned By
Encoding.GetDecoder()
Get VB.NET Core Classes in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.