Skip to main content
Skip table of contents

EncodingNoPreamble

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
TypeNameMethods
stringBodyNameget
intCodePageget
stringEncodingNameget
stringHeaderNameget
boolIsBrowserDisplayget
boolIsBrowserSaveget
boolIsMailNewsDisplayget
boolIsMailNewsSaveget
stringWebNameget
intWindowsCodePageget

Methods

Public methods
ReturnsName
intGetByteCount(char``[] chars, int index, int count)
intGetBytes(char``[] chars, int charIndex, int charCount, byte``[] bytes, int byteIndex)
intGetCharCount(byte``[] bytes, int index, int count)
intGetChars(byte``[] bytes, int byteIndex, int byteCount, char``[] chars, int charIndex)
DecoderGetDecoder()
EncoderGetEncoder()
intGetMaxByteCount(int charCount)
intGetMaxCharCount(int byteCount)
byte``[]GetPreamble()

Details

Summary

A wrapper for an Encoding to suppress the preamble.

Inheritance

  • Encoding

Constructors

EncodingNoPreamble

Source code

public EncodingNoPreamble(Encoding encoding)
Arguments
TypeNameDescription
Encodingencoding

Methods

GetByteCount

Source code

public override int GetByteCount(char[] chars, int index, int count)
Arguments
TypeNameDescription
char``[]chars
intindex
intcount
GetBytes

Source code

public override int GetBytes(char[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex)
Arguments
TypeNameDescription
char``[]chars
intcharIndex
intcharCount
byte``[]bytes
intbyteIndex
GetCharCount

Source code

public override int GetCharCount(byte[] bytes, int index, int count)
Arguments
TypeNameDescription
byte``[]bytes
intindex
intcount
GetChars

Source code

public override int GetChars(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex)
Arguments
TypeNameDescription
byte``[]bytes
intbyteIndex
intbyteCount
char``[]chars
intcharIndex
GetMaxByteCount

Source code

public override int GetMaxByteCount(int charCount)
Arguments
TypeNameDescription
intcharCount
GetMaxCharCount

Source code

public override int GetMaxCharCount(int byteCount)
Arguments
TypeNameDescription
intbyteCount
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; }
HeaderName
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

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.