Obsolete Members for QByteArrayView
QByteArrayView 클래스의 다음 멤버는 더 이상 사용되지 않습니다. 이들은 이전 소스 코드의 작동을 유지하기 위해 제공됩니다. 새 코드에서는 사용하지 않는 것이 좋습니다.
공용 함수
(since 6.5, deprecated) QByteArrayView | left(qsizetype length) const |
(since 6.5, deprecated) QByteArrayView | mid(qsizetype start, qsizetype length = -1) const |
(since 6.5, deprecated) QByteArrayView | right(qsizetype length) const |
멤버 함수 문서
[constexpr, since 6.5, deprecated]
QByteArrayView QByteArrayView::left(qsizetype length) const
이 함수는 더 이상 사용되지 않습니다. 새 코드에서 이 함수를 사용하지 않는 것이 좋습니다.
새 코드에서는 first()를 대신 사용하세요.
이 객체의 0번 위치부터 시작하는 길이 length 의 하위 배열을 반환합니다.
length 가 size()보다 크거나 같거나 0보다 작으면 전체 바이트 배열 뷰가 반환됩니다.
이 함수는 Qt 6.5에 도입되었습니다.
first(), last(), sliced(), startsWith(), chopped(), chop(), truncate(), slice()도 참조하세요 .
[constexpr, since 6.5, deprecated]
QByteArrayView QByteArrayView::mid(qsizetype start, qsizetype length = -1) const
이 함수는 더 이상 사용되지 않습니다. 새 코드에서 이 함수를 사용하지 않는 것이 좋습니다.
새 코드에서는 sliced()를 대신 사용하세요.
이 객체의 start 위치에서 시작하는 길이 length 의 하위 배열을 반환합니다.
start 이 바이트 배열 보기의 길이를 초과하는 경우 빈 바이트 배열 보기를 반환합니다. start 에서 시작하는 바이트 배열 보기에서 사용 가능한 문자가 length 미만인 경우 또는 length 가 음수(기본값)인 경우 이 함수는 start 에서 사용 가능한 모든 문자를 반환합니다.
이 함수는 Qt 6.5에 도입되었습니다.
first(), last(), sliced(), chopped(), chop(), truncate() 및 slice()도 참조하십시오 .
[constexpr, since 6.5, deprecated]
QByteArrayView QByteArrayView::right(qsizetype length) const
이 함수는 더 이상 사용되지 않습니다. 새 코드에서 이 함수를 사용하지 않는 것이 좋습니다.
새 코드에서는 last()를 대신 사용하세요.
이 객체에서 size() - length 위치부터 시작하는 길이 length 의 하위 배열을 반환합니다.
length 가 size() 보다 크거나 같거나 0보다 작으면 전체 바이트 배열 뷰가 반환됩니다.
이 함수는 Qt 6.5에 도입되었습니다.
first(), last(), sliced(), endsWith(), chopped(), chop(), truncate(), slice()도 참조하세요 .
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.