commit 2025-09-02 22:57 delete c_str_FromEnd(() in ZCppMain/ZCStringStd.H
This commit is contained in:
@ -1466,31 +1466,6 @@ namespace ZNsMain
|
|||||||
ZCStringBase& CorrectLength(TypeLength AL_StartPos=0)*/
|
ZCStringBase& CorrectLength(TypeLength AL_StartPos=0)*/
|
||||||
|
|
||||||
|
|
||||||
TypeChar* c_str_FromEnd(TypeLength AL_DistanceFromEnd)
|
|
||||||
{
|
|
||||||
// 뒤에서 DistanceFromEnd 개 문자열을 읽는다.
|
|
||||||
|
|
||||||
if(AL_DistanceFromEnd<=ml_UseLen && AL_DistanceFromEnd>0)
|
|
||||||
return mpc_Data+(ml_UseLen-AL_DistanceFromEnd) ;
|
|
||||||
else
|
|
||||||
return 0;
|
|
||||||
//else
|
|
||||||
}/*
|
|
||||||
TypeChar* c_str_FromEnd(TypeLength AL_DistanceFromEnd)*/
|
|
||||||
|
|
||||||
const TypeChar* c_str_FromEnd(TypeLength AL_DistanceFromEnd) const
|
|
||||||
{
|
|
||||||
// 뒤에서 DistanceFromEnd 개 문자열을 읽는다.
|
|
||||||
|
|
||||||
if(AL_DistanceFromEnd<=ml_UseLen && AL_DistanceFromEnd>0)
|
|
||||||
return mpc_Data+(ml_UseLen-AL_DistanceFromEnd) ;
|
|
||||||
else
|
|
||||||
return 0;
|
|
||||||
//else
|
|
||||||
}/*
|
|
||||||
const TypeChar* c_str_FromEnd(TypeLength AL_DistanceFromEnd) const*/
|
|
||||||
|
|
||||||
|
|
||||||
TypeLength ReadLongFromIndex(TypeLength AL_Index1, TypeLength AL_Index2)
|
TypeLength ReadLongFromIndex(TypeLength AL_Index1, TypeLength AL_Index2)
|
||||||
{
|
{
|
||||||
// 이 함수는 약간의 속도를 위해 에러처리를 하지 않는 것에 주의
|
// 이 함수는 약간의 속도를 위해 에러처리를 하지 않는 것에 주의
|
||||||
|
Reference in New Issue
Block a user