downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

HaruEncoder::getType> <HaruEncoder
[edit] Last updated: Fri, 24 Jun 2011

view this page in

HaruEncoder::getByteType

(PECL haru >= 0.0.1)

HaruEncoder::getByteTypeدریافت نوع بایت در متن

Description

int HaruEncoder::getByteType ( string $text , int $index )

دریافت نوع بایت در متن.

Parameters

text

متن.

index

مکان در متن.

Return Values

بازگرداندن نوع بایت در متن در محل مشخص. نتیجه یکی از مقادیر زیر است:

  • HaruEncoder::BYTE_TYPE_SINGLE - کاراکتر تک بایت.
  • HaruEncoder::BYTE_TYPE_LEAD - بایت اصلی کاراکتر دو بایتی.
  • HaruEncoder::BYTE_TYPE_TRAIL - بایت پایین کاراکتر دو بایتی.
  • HaruEncoder::BYTE_TYPE_UNKNOWN - کدگذار غیرصحیح یاعدم تشخیص نوع بایت.

Errors/Exceptions

Throws a HaruException on error.



add a note add a note User Contributed Notes HaruEncoder::getByteType - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites