C# Class Portable.Text.UTF8Encoding.UTF8Encoder

Inheritance: Encoder
Show file Open project: jstedfast/Portable.Text.Encoding

Public Methods

Method Description
GetByteCount ( char chars, int index, int count, bool flush ) : int
GetBytes ( char chars, int charIndex, int charCount, byte bytes, int byteIndex, bool flush ) : int
UTF8Encoder ( EncoderFallback fallback, bool emitIdentifier ) : System

Method Details

GetByteCount() public method

public GetByteCount ( char chars, int index, int count, bool flush ) : int
chars char
index int
count int
flush bool
return int

GetBytes() public method

public GetBytes ( char chars, int charIndex, int charCount, byte bytes, int byteIndex, bool flush ) : int
chars char
charIndex int
charCount int
bytes byte
byteIndex int
flush bool
return int

UTF8Encoder() public method

public UTF8Encoder ( EncoderFallback fallback, bool emitIdentifier ) : System
fallback EncoderFallback
emitIdentifier bool
return System