PHP Class Horde_Xml_Wbxml, horde

See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Author: Anthony Mills ([email protected])
Datei anzeigen Open project: horde/horde Class Usage Examples

Public Methods

Method Description
MBUInt32ToInt ( $in, &$pos ) Decoding Multi-byte Integers from Section 5.1
getBits ( $num, $l )
getCharsetInt ( $cs ) Returns the character encoding.
getCharsetString ( $cs ) Returns the character encoding.
getDPIInt ( $dpi )
getDPIString ( $i )
intToMBUInt32 ( &$out, $i ) Encoding Multi-byte Integers from Section 5.1

Method Details

MBUInt32ToInt() public static method

Use long because it is unsigned.
public static MBUInt32ToInt ( $in, &$pos )

getBits() public static method

public static getBits ( $num, $l )

getCharsetInt() public static method

Only default character encodings from J2SE are supported. From http://www.iana.org/assignments/character-sets and http://java.sun.com/j2se/1.4.2/docs/api/java/nio/charset/Charset.html
public static getCharsetInt ( $cs )

getCharsetString() public static method

only default character encodings from J2SE are supported from http://www.iana.org/assignments/character-sets and http://java.sun.com/j2se/1.4.2/docs/api/java/nio/charset/Charset.html
public static getCharsetString ( $cs )

getDPIInt() public static method

public static getDPIInt ( $dpi )

getDPIString() public static method

public static getDPIString ( $i )

intToMBUInt32() public static method

Encoding Multi-byte Integers from Section 5.1
public static intToMBUInt32 ( &$out, $i )