[ Index ]

PHP Cross Reference of YOURLS

title

Body

[close]

/includes/vendor/pomo/pomo/src/Streams/ -> StreamInterface.php (summary)

This file is part of the POMO package.

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

Defines 1 class

StreamInterface:: (12 methods):
  setEndian()
  readint32()
  readint32array()
  read()
  read_all()
  substr()
  strlen()
  str_split()
  pos()
  seekto()
  is_resource()
  close()


Interface: StreamInterface  - X-Ref

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

param: string $endian Set the endianness of the file. Accepts '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: int $count How many elements should be read
return: mixed Array of integers or false if there isn't

read($bytes)   X-Ref

param: string $bytes
return: string

read_all()   X-Ref

return: string

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

param: string $string
param: int    $start
param: int    $length
return: string

strlen($string)   X-Ref

param: string $string
return: int

str_split($string, $chunk_size)   X-Ref

param: string $string
param: int    $chunk_size
return: array

pos()   X-Ref

return: int

seekto($pos)   X-Ref

param: int $pos
return: int

is_resource()   X-Ref

return: true

close()   X-Ref

return: true



Generated: Tue May 13 05:10:06 2025 Cross-referenced by PHPXref 0.7.1