C# 클래스 IronPython.Modules.PythonCodecs

파일 보기 프로젝트 열기: jdhardy/ironpython

공개 메소드들

메소드 설명
ascii_decode ( object input ) : object
ascii_decode ( object input, string errors ) : object
ascii_encode ( object input ) : object
ascii_encode ( object input, string errors ) : object
charbuffer_encode ( ) : object
charmap_build ( string decoding_table ) : EncodingMap

Creates an optimized encoding mapping that can be consumed by an optimized version of charmap_encode.

charmap_decode ( [ input, string errors, [ map ) : PythonTuple

Decodes the input string using the provided string mapping.

charmap_decode ( [ input, [ errors, object>.[ map ) : object
charmap_encode ( [ input, string errors, [ map ) : PythonTuple

Encodes the input string with the specified optimized encoding map.

charmap_encode ( [ input, [ errors, [ map ) : object
decode ( CodeContext context, object obj ) : object
decode ( CodeContext context, object obj, string encoding ) : object
decode ( CodeContext context, object obj, string encoding, string errors ) : object
encode ( CodeContext context, object obj ) : object
encode ( CodeContext context, object obj, string encoding ) : object
encode ( CodeContext context, object obj, string encoding, string errors ) : object
escape_decode ( string text, [ errors ) : object
escape_encode ( string text, [ errors ) : PythonTuple
latin_1_decode ( object input ) : object
latin_1_decode ( object input, string errors ) : object
latin_1_encode ( object input ) : object
latin_1_encode ( object input, string errors ) : object
lookup ( CodeContext context, string encoding ) : PythonTuple
mbcs_decode ( CodeContext context, string input, [ errors, [ ignored ) : PythonTuple
mbcs_encode ( CodeContext context, string input, [ errors ) : PythonTuple
raw_unicode_escape_decode ( CodeContext context, object input, [ errors ) : PythonTuple
raw_unicode_escape_encode ( CodeContext context, object input, [ errors ) : PythonTuple
readbuffer_encode ( ) : object
register ( CodeContext context, object search_function ) : void
register_error ( CodeContext context, string name, object handler ) : void
unicode_escape_decode ( ) : PythonTuple
unicode_escape_encode ( ) : PythonTuple
unicode_internal_decode ( object input, [ errors ) : PythonTuple
unicode_internal_encode ( object input, [ errors ) : PythonTuple
utf_16_be_decode ( object input ) : PythonTuple
utf_16_be_decode ( object input, string errors, [ ignored ) : PythonTuple
utf_16_be_encode ( object input ) : PythonTuple
utf_16_be_encode ( object input, string errors ) : PythonTuple
utf_16_decode ( object input ) : PythonTuple
utf_16_decode ( object input, string errors, [ ignored ) : PythonTuple
utf_16_encode ( object input ) : PythonTuple
utf_16_encode ( object input, string errors ) : PythonTuple
utf_16_ex_decode ( object input, [ errors ) : PythonTuple
utf_16_ex_decode ( object input, string errors, object unknown1, object unknown2 ) : PythonTuple
utf_16_le_decode ( object input ) : PythonTuple
utf_16_le_decode ( object input, string errors, [ ignored ) : PythonTuple
utf_16_le_encode ( object input ) : PythonTuple
utf_16_le_encode ( object input, string errors ) : PythonTuple
utf_32_decode ( object input ) : PythonTuple
utf_32_decode ( object input, string errors ) : PythonTuple
utf_32_encode ( object input ) : PythonTuple
utf_32_encode ( object input, string errors ) : PythonTuple
utf_32_ex_decode ( object input, [ errors ) : PythonTuple
utf_32_ex_decode ( object input, string errors, object unknown1, object unknown2 ) : PythonTuple
utf_32_le_decode ( object input ) : PythonTuple
utf_32_le_decode ( object input, string errors, [ ignored ) : PythonTuple
utf_32_le_encode ( object input ) : PythonTuple
utf_32_le_encode ( object input, string errors ) : PythonTuple
utf_7_decode ( object input ) : PythonTuple
utf_7_decode ( object input, string errors, [ ignored ) : PythonTuple
utf_7_encode ( object input ) : PythonTuple
utf_7_encode ( object input, string errors ) : PythonTuple
utf_8_decode ( object input ) : PythonTuple
utf_8_decode ( object input, string errors, [ ignored ) : PythonTuple
utf_8_encode ( object input ) : PythonTuple
utf_8_encode ( object input, string errors ) : PythonTuple

비공개 메소드들

메소드 설명
CharToInt ( char ch, int &val ) : bool
CharmapDecodeWorker ( string input, string errors, object>.IDictionary map, bool isDecode ) : object
CheckPreamble ( Encoding enc, string buffer ) : int
DoDecode ( Encoding encoding, object input, string errors ) : PythonTuple
DoDecode ( Encoding encoding, object input, string errors, bool fAlwaysThrow ) : PythonTuple
DoEncode ( Encoding encoding, object input, string errors ) : PythonTuple
DoEncode ( Encoding encoding, object input, string errors, bool includePreamble ) : PythonTuple
lookup_error ( CodeContext context, string name ) : object

메소드 상세

ascii_decode() 공개 정적인 메소드

public static ascii_decode ( object input ) : object
input object
리턴 object

ascii_decode() 공개 정적인 메소드

public static ascii_decode ( object input, string errors ) : object
input object
errors string
리턴 object

ascii_encode() 공개 정적인 메소드

public static ascii_encode ( object input ) : object
input object
리턴 object

ascii_encode() 공개 정적인 메소드

public static ascii_encode ( object input, string errors ) : object
input object
errors string
리턴 object

charbuffer_encode() 공개 정적인 메소드

public static charbuffer_encode ( ) : object
리턴 object

charmap_build() 공개 정적인 메소드

Creates an optimized encoding mapping that can be consumed by an optimized version of charmap_encode.
public static charmap_build ( string decoding_table ) : EncodingMap
decoding_table string
리턴 EncodingMap

charmap_decode() 공개 정적인 메소드

Decodes the input string using the provided string mapping.
public static charmap_decode ( [ input, string errors, [ map ) : PythonTuple
input [
errors string
map [
리턴 PythonTuple

charmap_decode() 공개 정적인 메소드

public static charmap_decode ( [ input, [ errors, object>.[ map ) : object
input [
errors [
map object>.[
리턴 object

charmap_encode() 공개 정적인 메소드

Encodes the input string with the specified optimized encoding map.
public static charmap_encode ( [ input, string errors, [ map ) : PythonTuple
input [
errors string
map [
리턴 PythonTuple

charmap_encode() 공개 정적인 메소드

public static charmap_encode ( [ input, [ errors, [ map ) : object
input [
errors [
map [
리턴 object

decode() 공개 정적인 메소드

public static decode ( CodeContext context, object obj ) : object
context CodeContext
obj object
리턴 object

decode() 공개 정적인 메소드

public static decode ( CodeContext context, object obj, string encoding ) : object
context CodeContext
obj object
encoding string
리턴 object

decode() 공개 정적인 메소드

public static decode ( CodeContext context, object obj, string encoding, string errors ) : object
context CodeContext
obj object
encoding string
errors string
리턴 object

encode() 공개 정적인 메소드

public static encode ( CodeContext context, object obj ) : object
context CodeContext
obj object
리턴 object

encode() 공개 정적인 메소드

public static encode ( CodeContext context, object obj, string encoding ) : object
context CodeContext
obj object
encoding string
리턴 object

encode() 공개 정적인 메소드

public static encode ( CodeContext context, object obj, string encoding, string errors ) : object
context CodeContext
obj object
encoding string
errors string
리턴 object

escape_decode() 공개 정적인 메소드

public static escape_decode ( string text, [ errors ) : object
text string
errors [
리턴 object

escape_encode() 공개 정적인 메소드

public static escape_encode ( string text, [ errors ) : PythonTuple
text string
errors [
리턴 PythonTuple

latin_1_decode() 공개 정적인 메소드

public static latin_1_decode ( object input ) : object
input object
리턴 object

latin_1_decode() 공개 정적인 메소드

public static latin_1_decode ( object input, string errors ) : object
input object
errors string
리턴 object

latin_1_encode() 공개 정적인 메소드

public static latin_1_encode ( object input ) : object
input object
리턴 object

latin_1_encode() 공개 정적인 메소드

public static latin_1_encode ( object input, string errors ) : object
input object
errors string
리턴 object

lookup() 공개 정적인 메소드

public static lookup ( CodeContext context, string encoding ) : PythonTuple
context CodeContext
encoding string
리턴 PythonTuple

mbcs_decode() 공개 정적인 메소드

public static mbcs_decode ( CodeContext context, string input, [ errors, [ ignored ) : PythonTuple
context CodeContext
input string
errors [
ignored [
리턴 PythonTuple

mbcs_encode() 공개 정적인 메소드

public static mbcs_encode ( CodeContext context, string input, [ errors ) : PythonTuple
context CodeContext
input string
errors [
리턴 PythonTuple

raw_unicode_escape_decode() 공개 정적인 메소드

public static raw_unicode_escape_decode ( CodeContext context, object input, [ errors ) : PythonTuple
context CodeContext
input object
errors [
리턴 PythonTuple

raw_unicode_escape_encode() 공개 정적인 메소드

public static raw_unicode_escape_encode ( CodeContext context, object input, [ errors ) : PythonTuple
context CodeContext
input object
errors [
리턴 PythonTuple

readbuffer_encode() 공개 정적인 메소드

public static readbuffer_encode ( ) : object
리턴 object

register() 공개 정적인 메소드

public static register ( CodeContext context, object search_function ) : void
context CodeContext
search_function object
리턴 void

register_error() 공개 정적인 메소드

public static register_error ( CodeContext context, string name, object handler ) : void
context CodeContext
name string
handler object
리턴 void

unicode_escape_decode() 공개 정적인 메소드

public static unicode_escape_decode ( ) : PythonTuple
리턴 PythonTuple

unicode_escape_encode() 공개 정적인 메소드

public static unicode_escape_encode ( ) : PythonTuple
리턴 PythonTuple

unicode_internal_decode() 공개 정적인 메소드

public static unicode_internal_decode ( object input, [ errors ) : PythonTuple
input object
errors [
리턴 PythonTuple

unicode_internal_encode() 공개 정적인 메소드

public static unicode_internal_encode ( object input, [ errors ) : PythonTuple
input object
errors [
리턴 PythonTuple

utf_16_be_decode() 공개 정적인 메소드

public static utf_16_be_decode ( object input ) : PythonTuple
input object
리턴 PythonTuple

utf_16_be_decode() 공개 정적인 메소드

public static utf_16_be_decode ( object input, string errors, [ ignored ) : PythonTuple
input object
errors string
ignored [
리턴 PythonTuple

utf_16_be_encode() 공개 정적인 메소드

public static utf_16_be_encode ( object input ) : PythonTuple
input object
리턴 PythonTuple

utf_16_be_encode() 공개 정적인 메소드

public static utf_16_be_encode ( object input, string errors ) : PythonTuple
input object
errors string
리턴 PythonTuple

utf_16_decode() 공개 정적인 메소드

public static utf_16_decode ( object input ) : PythonTuple
input object
리턴 PythonTuple

utf_16_decode() 공개 정적인 메소드

public static utf_16_decode ( object input, string errors, [ ignored ) : PythonTuple
input object
errors string
ignored [
리턴 PythonTuple

utf_16_encode() 공개 정적인 메소드

public static utf_16_encode ( object input ) : PythonTuple
input object
리턴 PythonTuple

utf_16_encode() 공개 정적인 메소드

public static utf_16_encode ( object input, string errors ) : PythonTuple
input object
errors string
리턴 PythonTuple

utf_16_ex_decode() 공개 정적인 메소드

public static utf_16_ex_decode ( object input, [ errors ) : PythonTuple
input object
errors [
리턴 PythonTuple

utf_16_ex_decode() 공개 정적인 메소드

public static utf_16_ex_decode ( object input, string errors, object unknown1, object unknown2 ) : PythonTuple
input object
errors string
unknown1 object
unknown2 object
리턴 PythonTuple

utf_16_le_decode() 공개 정적인 메소드

public static utf_16_le_decode ( object input ) : PythonTuple
input object
리턴 PythonTuple

utf_16_le_decode() 공개 정적인 메소드

public static utf_16_le_decode ( object input, string errors, [ ignored ) : PythonTuple
input object
errors string
ignored [
리턴 PythonTuple

utf_16_le_encode() 공개 정적인 메소드

public static utf_16_le_encode ( object input ) : PythonTuple
input object
리턴 PythonTuple

utf_16_le_encode() 공개 정적인 메소드

public static utf_16_le_encode ( object input, string errors ) : PythonTuple
input object
errors string
리턴 PythonTuple

utf_32_decode() 공개 정적인 메소드

public static utf_32_decode ( object input ) : PythonTuple
input object
리턴 PythonTuple

utf_32_decode() 공개 정적인 메소드

public static utf_32_decode ( object input, string errors ) : PythonTuple
input object
errors string
리턴 PythonTuple

utf_32_encode() 공개 정적인 메소드

public static utf_32_encode ( object input ) : PythonTuple
input object
리턴 PythonTuple

utf_32_encode() 공개 정적인 메소드

public static utf_32_encode ( object input, string errors ) : PythonTuple
input object
errors string
리턴 PythonTuple

utf_32_ex_decode() 공개 정적인 메소드

public static utf_32_ex_decode ( object input, [ errors ) : PythonTuple
input object
errors [
리턴 PythonTuple

utf_32_ex_decode() 공개 정적인 메소드

public static utf_32_ex_decode ( object input, string errors, object unknown1, object unknown2 ) : PythonTuple
input object
errors string
unknown1 object
unknown2 object
리턴 PythonTuple

utf_32_le_decode() 공개 정적인 메소드

public static utf_32_le_decode ( object input ) : PythonTuple
input object
리턴 PythonTuple

utf_32_le_decode() 공개 정적인 메소드

public static utf_32_le_decode ( object input, string errors, [ ignored ) : PythonTuple
input object
errors string
ignored [
리턴 PythonTuple

utf_32_le_encode() 공개 정적인 메소드

public static utf_32_le_encode ( object input ) : PythonTuple
input object
리턴 PythonTuple

utf_32_le_encode() 공개 정적인 메소드

public static utf_32_le_encode ( object input, string errors ) : PythonTuple
input object
errors string
리턴 PythonTuple

utf_7_decode() 공개 정적인 메소드

public static utf_7_decode ( object input ) : PythonTuple
input object
리턴 PythonTuple

utf_7_decode() 공개 정적인 메소드

public static utf_7_decode ( object input, string errors, [ ignored ) : PythonTuple
input object
errors string
ignored [
리턴 PythonTuple

utf_7_encode() 공개 정적인 메소드

public static utf_7_encode ( object input ) : PythonTuple
input object
리턴 PythonTuple

utf_7_encode() 공개 정적인 메소드

public static utf_7_encode ( object input, string errors ) : PythonTuple
input object
errors string
리턴 PythonTuple

utf_8_decode() 공개 정적인 메소드

public static utf_8_decode ( object input ) : PythonTuple
input object
리턴 PythonTuple

utf_8_decode() 공개 정적인 메소드

public static utf_8_decode ( object input, string errors, [ ignored ) : PythonTuple
input object
errors string
ignored [
리턴 PythonTuple

utf_8_encode() 공개 정적인 메소드

public static utf_8_encode ( object input ) : PythonTuple
input object
리턴 PythonTuple

utf_8_encode() 공개 정적인 메소드

public static utf_8_encode ( object input, string errors ) : PythonTuple
input object
errors string
리턴 PythonTuple