다음을 통해 공유


QueueMessageFormat 클래스

큐 서비스가 큐 메시지를 인코딩하고 디코딩하는 방법을 수정하는 데 사용할 수 있는 인코딩 및 디코딩 메서드입니다. 이러한 동작을 queueservice.encode_function 및 queueservice.decode_function 설정하여 동작을 수정합니다. 기본값은 각각 text_xmlencode 및 text_xmldecode.

상속
builtins.object
QueueMessageFormat

생성자

QueueMessageFormat()

메서드

binary_base64decode

Base64는 바이트 문자열로 디코딩합니다.

binary_base64encode

Base64는 바이트 문자열을 인코딩합니다.

nodecode

디코딩을 수행하지 않습니다.

noencode

인코딩을 수행하지 않습니다.

text_base64decode

Base64는 유니코드 텍스트로 디코딩합니다.

text_base64encode

Base64는 유니코드 텍스트를 인코딩합니다.

text_xmldecode

XML은 유니코드 텍스트로 디코딩합니다.

text_xmlencode

XML은 유니코드 텍스트를 인코딩합니다.

binary_base64decode

Base64는 바이트 문자열로 디코딩합니다.

static binary_base64decode(data)

매개 변수

data
str
필수

바이트 문자열로 디코딩할 데이터입니다.

반환

Base64 디코딩된 데이터입니다.

반환 형식

str

binary_base64encode

Base64는 바이트 문자열을 인코딩합니다.

static binary_base64encode(data)

매개 변수

data
str
필수

인코딩할 이진 문자열입니다.

반환

Base64로 인코딩된 데이터입니다.

반환 형식

str

nodecode

디코딩을 수행하지 않습니다.

static nodecode(data)

매개 변수

data
str
필수

데이터.

반환

전달된 데이터는 수정되지 않은 상태로 반환됩니다.

반환 형식

str

noencode

인코딩을 수행하지 않습니다.

static noencode(data)

매개 변수

data
str
필수

데이터.

반환

전달된 데이터는 수정되지 않은 상태로 반환됩니다.

반환 형식

str

text_base64decode

Base64는 유니코드 텍스트로 디코딩합니다.

static text_base64decode(data)

매개 변수

data
str
필수

유니코드로 디코딩할 문자열 데이터입니다.

반환

Base64 디코딩된 문자열입니다.

반환 형식

str

text_base64encode

Base64는 유니코드 텍스트를 인코딩합니다.

static text_base64encode(data)

매개 변수

data
str
필수

인코딩할 문자열입니다.

반환

Base64로 인코딩된 문자열입니다.

반환 형식

str

text_xmldecode

XML은 유니코드 텍스트로 디코딩합니다.

static text_xmldecode(data)

매개 변수

data
str
필수

유니코드로 디코딩할 데이터입니다.

반환

XML 디코딩된 데이터입니다.

반환 형식

str

text_xmlencode

XML은 유니코드 텍스트를 인코딩합니다.

static text_xmlencode(data)

매개 변수

data
str
필수

인코딩할 유니코드 문자열

반환

XML로 인코딩된 데이터입니다.

반환 형식

str