[ Index ]

PHP Cross Reference of Moodle 1.9.3 [Build 15-Oct-2008]

title

Body

[close]

/search/Zend/Search/Lucene/Storage/ -> File.php (summary)

Zend Framework LICENSE

Copyright: Copyright (c) 2005-2007 Zend Technologies USA Inc. (http://www.zend.com)
License: http://framework.zend.com/license/new-bsd New BSD License
File Size: 427 lines (13 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 13 functions

  readByte()
  writeByte()
  readBytes()
  writeBytes()
  readInt()
  writeInt()
  readLong()
  writeLong()
  readVInt()
  writeVInt()
  readString()
  writeString()
  readBinary()

Functions
Functions that are not part of a class:

readByte()   X-Ref
Reads a byte from the current position in the file
and advances the file pointer.

return: integer

writeByte($byte)   X-Ref
Writes a byte to the end of the file.

param: integer $byte

readBytes($num)   X-Ref
Read num bytes from the current position in the file
and advances the file pointer.

param: integer $num
return: string

writeBytes($data, $num=null)   X-Ref
Writes num bytes of data (all, if $num===null) to the end
of the string.

param: string $data
param: integer $num

readInt()   X-Ref
Reads an integer from the current position in the file
and advances the file pointer.

return: integer

writeInt($value)   X-Ref
Writes an integer to the end of file.

param: integer $value

readLong()   X-Ref
Returns a long integer from the current position in the file
and advances the file pointer.

return: integer

writeLong($value)   X-Ref
Writes long integer to the end of file

param: integer $value

readVInt()   X-Ref
Returns a variable-length integer from the current
position in the file and advances the file pointer.

return: integer

writeVInt($value)   X-Ref
Writes a variable-length integer to the end of file.

param: integer $value

readString()   X-Ref
Reads a string from the current position in the file
and advances the file pointer.

return: string

writeString($str)   X-Ref
Writes a string to the end of file.

param: string $str

readBinary()   X-Ref
Reads binary data from the current position in the file
and advances the file pointer.

return: string



Generated: Wed Jan 14 11:33:29 2009 Cross-referenced by PHPXref 0.7