コード例 #1
0
ファイル: AbstractFont.php プロジェクト: rexmac/zf2
 /**
  * Reads the Unicode UTF-16-encoded string from the binary file at the
  * current offset location. Overridden to fix return character set at UTF-16BE.
  *
  * @todo Deal with to-dos in the parent method.
  *
  * @param integer $byteCount Number of bytes (characters * 2) to return.
  * @param integer $byteOrder (optional) Big- or little-endian byte order.
  *   Use the BYTE_ORDER_ constants defined in {@link \Zend\Pdf\BinaryParser\AbstractBinaryParser}. If
  *   omitted, uses big-endian.
  * @param string $characterSet (optional) --Ignored--
  * @return string
  * @throws \Zend\Pdf\Exception
  */
 public function readStringUTF16($byteCount, $byteOrder = BinaryParser\AbstractBinaryParser::BYTE_ORDER_BIG_ENDIAN, $characterSet = '')
 {
     return parent::readStringUTF16($byteCount, $byteOrder, 'UTF-16BE');
 }