System::Text::ICUDecoder::Convert 메서드

ICUDecoder::Convert(ArrayPtr<uint8_t>, int, int, ArrayPtr<char_t>, int, int, bool, int&, int&, bool&) method

바이트를 문자로 변환합니다.

virtual void System::Text::ICUDecoder::Convert(ArrayPtr<uint8_t> bytes, int byteIndex, int byteCount, ArrayPtr<char_t> chars, int charIndex, int charCount, bool flush, int &bytesUsed, int &charsUsed, bool &completed)
매개변수형식설명
바이트ArrayPtr<uint8_t>디코딩할 바이트.
byteIndexint입력 버퍼 오프셋.
byteCountint입력 버퍼 크기.
charsArrayPtr<char_t>대상 문자 버퍼.
charIndexint대상 배열 오프셋.
charCountint대상 배열 크기.
flushbooltrue인 경우, 계산 후 내부 디코더 상태를 정리합니다.
bytesUsedint&읽은 바이트 수를 저장할 변수에 대한 참조.
charsUsedint&작성된 문자 수를 저장할 변수에 대한 참조.
completedbool&입력 버퍼가 소진되면 true로, 그렇지 않으면 false로 설정될 변수에 대한 참조.

또 보기

ICUDecoder::Convert(const uint8_t *, int, char_t *, int, bool, int&, int&, bool&) method

바이트를 문자로 변환합니다.

virtual void System::Text::ICUDecoder::Convert(const uint8_t *bytes, int byteCount, char_t *chars, int charCount, bool flush, int &bytesUsed, int &charsUsed, bool &completed)
매개변수형식설명
바이트const uint8_t *디코딩할 바이트.
byteCountint입력 버퍼 크기.
charschar_t *대상 문자 버퍼.
charCountint대상 배열 크기.
flushbooltrue인 경우, 계산 후 내부 디코더 상태를 정리합니다.
bytesUsedint&읽은 바이트 수를 저장할 변수에 대한 참조.
charsUsedint&작성된 문자 수를 저장할 변수에 대한 참조.
completedbool&입력 버퍼가 소진되면 true로, 그렇지 않으면 false로 설정될 변수에 대한 참조.

또 보기