EncodingNoPreamble Public class
Description
A wrapper for an Encoding to suppress the preamble.
Diagram
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph iTextSharp.text.xml.xmp
iTextSharp.text.xml.xmp.EncodingNoPreamble[[EncodingNoPreamble]]
end
subgraph System.Text
System.Text.Encoding[[Encoding]]
end
System.Text.Encoding --> iTextSharp.text.xml.xmp.EncodingNoPreamble
Members
Properties
Public properties
Methods
Public methods
Returns | Name |
---|
int | GetByteCount (char``[] chars, int index, int count) |
int | GetBytes (char``[] chars, int charIndex, int charCount, byte``[] bytes, int byteIndex) |
int | GetCharCount (byte``[] bytes, int index, int count) |
int | GetChars (byte``[] bytes, int byteIndex, int byteCount, char``[] chars, int charIndex) |
Decoder | GetDecoder () |
Encoder | GetEncoder () |
int | GetMaxByteCount (int charCount) |
int | GetMaxCharCount (int byteCount) |
byte``[] | GetPreamble () |
Details
Summary
A wrapper for an Encoding to suppress the preamble.
Inheritance
Constructors
EncodingNoPreamble
Source code
public EncodingNoPreamble(Encoding encoding)
Arguments
Type | Name | Description |
---|
Encoding | encoding | |
Methods
GetByteCount
Source code
public override int GetByteCount(char[] chars, int index, int count)
Arguments
Type | Name | Description |
---|
char``[] | chars | |
int | index | |
int | count | |
GetBytes
Source code
public override int GetBytes(char[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex)
Arguments
Type | Name | Description |
---|
char``[] | chars | |
int | charIndex | |
int | charCount | |
byte``[] | bytes | |
int | byteIndex | |
GetCharCount
Source code
public override int GetCharCount(byte[] bytes, int index, int count)
Arguments
Type | Name | Description |
---|
byte``[] | bytes | |
int | index | |
int | count | |
GetChars
Source code
public override int GetChars(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex)
Arguments
Type | Name | Description |
---|
byte``[] | bytes | |
int | byteIndex | |
int | byteCount | |
char``[] | chars | |
int | charIndex | |
GetMaxByteCount
Source code
public override int GetMaxByteCount(int charCount)
Arguments
Type | Name | Description |
---|
int | charCount | |
GetMaxCharCount
Source code
public override int GetMaxCharCount(int byteCount)
Arguments
Type | Name | Description |
---|
int | byteCount | |
GetDecoder
Source code
public override Decoder GetDecoder()
GetEncoder
Source code
public override Encoder GetEncoder()
GetPreamble
Source code
public override byte GetPreamble()
Properties
BodyName
public override string BodyName { get; }
CodePage
public override int CodePage { get; }
EncodingName
public override string EncodingName { get; }
public override string HeaderName { get; }
IsBrowserDisplay
public override bool IsBrowserDisplay { get; }
IsBrowserSave
public override bool IsBrowserSave { get; }
IsMailNewsDisplay
public override bool IsMailNewsDisplay { get; }
IsMailNewsSave
public override bool IsMailNewsSave { get; }
WebName
public override string WebName { get; }
WindowsCodePage
public override int WindowsCodePage { get; }
Generated with ModularDoc