Rename & reorder readed bytes arg in string funcs
This commit is contained in:
@@ -239,11 +239,11 @@ If successful, it returns 0 or an error code.
|
||||
=head2 BH_StringToDouble
|
||||
|
||||
double BH_StringToDouble(const char *string,
|
||||
size_t *size);
|
||||
size_t *actual);
|
||||
|
||||
Converts the string I<string> to a real number.
|
||||
|
||||
The optional parameter I<size> returns the number of characters read from the
|
||||
The optional parameter I<actual> returns the number of characters read from the
|
||||
string.
|
||||
|
||||
If successful, it returns the converted number or 0.
|
||||
@@ -252,128 +252,128 @@ If successful, it returns the converted number or 0.
|
||||
=head2 BH_StringToInt8s
|
||||
|
||||
int8_t BH_StringToInt8s(const char *string,
|
||||
size_t *size,
|
||||
int base);
|
||||
int base,
|
||||
size_t *actual);
|
||||
|
||||
Converts the string I<string> to an 8-bit signed integer.
|
||||
|
||||
The optional parameter I<size> returns the number of characters read from the
|
||||
string.
|
||||
|
||||
The optional parameter I<base> specifies the base of the number.
|
||||
|
||||
The optional parameter I<actual> returns the number of characters read from the
|
||||
string.
|
||||
|
||||
If successful, it returns the converted number or 0.
|
||||
|
||||
|
||||
=head2 BH_StringToInt16s
|
||||
|
||||
int16_t BH_StringToInt16s(const char *string,
|
||||
size_t *size,
|
||||
int base);
|
||||
int base,
|
||||
size_t *actual);
|
||||
|
||||
Converts the string I<string> to a signed 16-bit integer.
|
||||
|
||||
The optional parameter I<size> returns the number of characters read from the
|
||||
string.
|
||||
|
||||
The optional parameter I<base> specifies the base of the number.
|
||||
|
||||
The optional parameter I<actual> returns the number of characters read from the
|
||||
string.
|
||||
|
||||
If successful, it returns the converted number or 0.
|
||||
|
||||
|
||||
=head2 BH_StringToInt32s
|
||||
|
||||
int32_t BH_StringToInt32s(const char *string,
|
||||
size_t *size,
|
||||
int base);
|
||||
int base,
|
||||
size_t *actual);
|
||||
|
||||
Converts the string I<string> to a signed 32-bit integer.
|
||||
|
||||
The optional parameter I<size> returns the number of characters read from the
|
||||
string.
|
||||
|
||||
The optional parameter I<base> specifies the base of the number.
|
||||
|
||||
The optional parameter I<actual> returns the number of characters read from the
|
||||
string.
|
||||
|
||||
If successful, it returns the converted number or 0.
|
||||
|
||||
|
||||
=head2 BH_StringToInt64s
|
||||
|
||||
int64_t BH_StringToInt64s(const char *string,
|
||||
size_t *size,
|
||||
int base);
|
||||
int base,
|
||||
size_t *actual);
|
||||
|
||||
Converts the string I<string> to a signed 64-bit integer.
|
||||
|
||||
The optional parameter I<size> returns the number of characters read from the
|
||||
string.
|
||||
|
||||
The optional parameter I<base> specifies the base of the number.
|
||||
|
||||
The optional parameter I<actual> returns the number of characters read from the
|
||||
string.
|
||||
|
||||
If successful, it returns the converted number or 0.
|
||||
|
||||
|
||||
=head2 BH_StringToInt8u
|
||||
|
||||
uint8_t BH_StringToInt8u(const char *string,
|
||||
size_t *size,
|
||||
int base);
|
||||
int base,
|
||||
size_t *actual);
|
||||
|
||||
Converts the string I<string> to an unsigned 8-bit integer.
|
||||
|
||||
The optional parameter I<size> returns the number of characters read from the
|
||||
string.
|
||||
|
||||
The optional parameter I<base> specifies the base of the number.
|
||||
|
||||
The optional parameter I<actual> returns the number of characters read from the
|
||||
string.
|
||||
|
||||
If successful, it returns the converted number or 0.
|
||||
|
||||
|
||||
=head2 BH_StringToInt16u
|
||||
|
||||
uint16_t BH_StringToInt16u(const char *string,
|
||||
size_t *size,
|
||||
int base);
|
||||
int base,
|
||||
size_t *actual);
|
||||
|
||||
Converts the string I<string> to an unsigned 16-bit integer.
|
||||
|
||||
The optional parameter I<size> returns the number of characters read from the
|
||||
string.
|
||||
|
||||
The optional parameter I<base> specifies the base of the number.
|
||||
|
||||
The optional parameter I<actual> returns the number of characters read from the
|
||||
string.
|
||||
|
||||
If successful, it returns the converted number or 0.
|
||||
|
||||
|
||||
=head2 BH_StringToInt32u
|
||||
|
||||
uint32_t BH_StringToInt32u(const char *string,
|
||||
size_t *size,
|
||||
int base);
|
||||
int base,
|
||||
size_t *actual);
|
||||
|
||||
Converts the string I<string> to an unsigned 32-bit integer.
|
||||
|
||||
The optional parameter I<size> returns the number of characters read from the
|
||||
string.
|
||||
|
||||
The optional parameter I<base> specifies the base of the number.
|
||||
|
||||
The optional parameter I<actual> returns the number of characters read from the
|
||||
string.
|
||||
|
||||
If successful, it returns the converted number or 0.
|
||||
|
||||
|
||||
=head2 BH_StringToInt64u
|
||||
|
||||
uint64_t BH_StringToInt64u(const char *string,
|
||||
size_t *size,
|
||||
int base);
|
||||
int base,
|
||||
size_t *actual);
|
||||
|
||||
Converts the string I<string> to an unsigned 64-bit integer.
|
||||
|
||||
The optional parameter I<size> returns the number of characters read from the
|
||||
string.
|
||||
|
||||
The optional parameter I<base> specifies the base of the number.
|
||||
|
||||
The optional parameter I<actual> returns the number of characters read from the
|
||||
string.
|
||||
|
||||
If successful, it returns the converted number or 0.
|
||||
|
||||
|
||||
|
||||
@@ -243,7 +243,7 @@ I<string> (с ограничением по длинне I<size>).
|
||||
|
||||
Преобразовывает строку I<string> в вещественное число.
|
||||
|
||||
Опциональный параметр I<size> возвращает число прочитанных символов из строки.
|
||||
Опциональный параметр I<actual> возвращает число прочитанных символов из строки.
|
||||
|
||||
В случае успеха, возвращает преобразованное число или 0.
|
||||
|
||||
@@ -251,120 +251,120 @@ I<string> (с ограничением по длинне I<size>).
|
||||
=head2 BH_StringToInt8s
|
||||
|
||||
int8_t BH_StringToInt8s(const char *string,
|
||||
size_t *size,
|
||||
int base);
|
||||
int base,
|
||||
size_t *actual);
|
||||
|
||||
Преобразовывает строку I<string> в целое знаковое 8-битное число.
|
||||
|
||||
Опциональный параметр I<size> возвращает число прочитанных символов из строки.
|
||||
|
||||
Опциональный параметр I<base> задает основание числа.
|
||||
|
||||
Опциональный параметр I<actual> возвращает число прочитанных символов из строки.
|
||||
|
||||
В случае успеха, возвращает преобразованное число или 0.
|
||||
|
||||
|
||||
=head2 BH_StringToInt16s
|
||||
|
||||
int16_t BH_StringToInt16s(const char *string,
|
||||
size_t *size,
|
||||
int base);
|
||||
int base,
|
||||
size_t *actual);
|
||||
|
||||
Преобразовывает строку I<string> в целое знаковое 16-битное число.
|
||||
|
||||
Опциональный параметр I<size> возвращает число прочитанных символов из строки.
|
||||
|
||||
Опциональный параметр I<base> задает основание числа.
|
||||
|
||||
Опциональный параметр I<actual> возвращает число прочитанных символов из строки.
|
||||
|
||||
В случае успеха, возвращает преобразованное число или 0.
|
||||
|
||||
|
||||
=head2 BH_StringToInt32s
|
||||
|
||||
int32_t BH_StringToInt32s(const char *string,
|
||||
size_t *size,
|
||||
int base);
|
||||
int base,
|
||||
size_t *actual);
|
||||
|
||||
Преобразовывает строку I<string> в целое знаковое 32-битное число.
|
||||
|
||||
Опциональный параметр I<size> возвращает число прочитанных символов из строки.
|
||||
|
||||
Опциональный параметр I<base> задает основание числа.
|
||||
|
||||
Опциональный параметр I<actual> возвращает число прочитанных символов из строки.
|
||||
|
||||
В случае успеха, возвращает преобразованное число или 0.
|
||||
|
||||
|
||||
=head2 BH_StringToInt64s
|
||||
|
||||
int64_t BH_StringToInt64s(const char *string,
|
||||
size_t *size,
|
||||
int base);
|
||||
int base,
|
||||
size_t *actual);
|
||||
|
||||
Преобразовывает строку I<string> в целое знаковое 64-битное число.
|
||||
|
||||
Опциональный параметр I<size> возвращает число прочитанных символов из строки.
|
||||
|
||||
Опциональный параметр I<base> задает основание числа.
|
||||
|
||||
Опциональный параметр I<actual> возвращает число прочитанных символов из строки.
|
||||
|
||||
В случае успеха, возвращает преобразованное число или 0.
|
||||
|
||||
|
||||
=head2 BH_StringToInt8u
|
||||
|
||||
uint8_t BH_StringToInt8u(const char *string,
|
||||
size_t *size,
|
||||
int base);
|
||||
int base,
|
||||
size_t *actual);
|
||||
|
||||
Преобразовывает строку I<string> в целое беззнаковое 8-битное число.
|
||||
|
||||
Опциональный параметр I<size> возвращает число прочитанных символов из строки.
|
||||
|
||||
Опциональный параметр I<base> задает основание числа.
|
||||
|
||||
Опциональный параметр I<actual> возвращает число прочитанных символов из строки.
|
||||
|
||||
В случае успеха, возвращает преобразованное число или 0.
|
||||
|
||||
|
||||
=head2 BH_StringToInt16u
|
||||
|
||||
uint16_t BH_StringToInt16u(const char *string,
|
||||
size_t *size,
|
||||
int base);
|
||||
int base,
|
||||
size_t *actual);
|
||||
|
||||
Преобразовывает строку I<string> в целое беззнаковое 16-битное число.
|
||||
|
||||
Опциональный параметр I<size> возвращает число прочитанных символов из строки.
|
||||
|
||||
Опциональный параметр I<base> задает основание числа.
|
||||
|
||||
Опциональный параметр I<actual> возвращает число прочитанных символов из строки.
|
||||
|
||||
В случае успеха, возвращает преобразованное число или 0.
|
||||
|
||||
|
||||
=head2 BH_StringToInt32u
|
||||
|
||||
uint32_t BH_StringToInt32u(const char *string,
|
||||
size_t *size,
|
||||
int base);
|
||||
int base,
|
||||
size_t *actual);
|
||||
|
||||
Преобразовывает строку I<string> в целое беззнаковое 32-битное число.
|
||||
|
||||
Опциональный параметр I<size> возвращает число прочитанных символов из строки.
|
||||
|
||||
Опциональный параметр I<base> задает основание числа.
|
||||
|
||||
Опциональный параметр I<actual> возвращает число прочитанных символов из строки.
|
||||
|
||||
В случае успеха, возвращает преобразованное число или 0.
|
||||
|
||||
|
||||
=head2 BH_StringToInt64u
|
||||
|
||||
uint64_t BH_StringToInt64u(const char *string,
|
||||
size_t *size,
|
||||
int base);
|
||||
int base,
|
||||
size_t *actual);
|
||||
|
||||
Преобразовывает строку I<string> в целое беззнаковое 64-битное число.
|
||||
|
||||
Опциональный параметр I<size> возвращает число прочитанных символов из строки.
|
||||
|
||||
Опциональный параметр I<base> задает основание числа.
|
||||
|
||||
Опциональный параметр I<actual> возвращает число прочитанных символов из строки.
|
||||
|
||||
В случае успеха, возвращает преобразованное число или 0.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user