[ Index ]

WordPress Cross Reference

title

Body

[close]

/wp-includes/pomo/ -> streams.php (summary)

(no description)

File Size: 209 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 5 classes

POMO_Reader:: (10 methods):
  POMO_Reader()
  setEndian()
  readint32()
  readint32array()
  substr()
  strlen()
  str_split()
  pos()
  is_resource()
  close()

POMO_FileReader:: (7 methods):
  POMO_FileReader()
  read()
  seekto()
  is_resource()
  feof()
  close()
  read_all()

POMO_StringReader:: (5 methods):
  POMO_StringReader()
  read()
  seekto()
  length()
  read_all()

POMO_CachedFileReader:: (1 method):
  POMO_CachedFileReader()

POMO_CachedIntFileReader:: (1 method):
  POMO_CachedIntFileReader()


Class: POMO_Reader  - X-Ref

Classes, which help reading streams of data from files.
Based on the classes from Danilo Segan <danilo@kvota.net>

POMO_Reader()   X-Ref
No description

setEndian($endian)   X-Ref
Sets the endianness of the file.

param: $endian string 'big' or 'little'

readint32()   X-Ref
Reads a 32bit Integer from the Stream

return: mixed The integer, corresponding to the next 32 bits from

readint32array($count)   X-Ref
Reads an array of 32-bit Integers from the Stream

param: integer count How many elements should be read
return: mixed Array of integers or false if there isn't

substr($string, $start, $length)   X-Ref
No description

strlen($string)   X-Ref
No description

str_split($string, $chunk_size)   X-Ref
No description

pos()   X-Ref
No description

is_resource()   X-Ref
No description

close()   X-Ref
No description

Class: POMO_FileReader  - X-Ref

POMO_FileReader($filename)   X-Ref
No description

read($bytes)   X-Ref
No description

seekto($pos)   X-Ref
No description

is_resource()   X-Ref
No description

feof()   X-Ref
No description

close()   X-Ref
No description

read_all()   X-Ref
No description

Class: POMO_StringReader  - X-Ref

Provides file-like methods for manipulating a string instead
of a physical file.

POMO_StringReader($str = '')   X-Ref
No description

read($bytes)   X-Ref
No description

seekto($pos)   X-Ref
No description

length()   X-Ref
No description

read_all()   X-Ref
No description

Class: POMO_CachedFileReader  - X-Ref

Reads the contents of the file in the beginning.

POMO_CachedFileReader($filename)   X-Ref
No description

Class: POMO_CachedIntFileReader  - X-Ref

Reads the contents of the file in the beginning.



Generated: Tue Mar 25 01:41:18 2014 WordPress honlapkészítés: online1.hu