Top > IO_Bit

require

  • PHP5 or PHP7

required

Sound

Image

compress

インストール

新方法

 % composer require yoya/io_bit

旧方法

% pear channel-discover openpear.org
% pear install openpear/IO_Bit

method

  • input($data)
  • output()
  • byteAlign();
  • setOffset($byte_offset, $bit_offset), incrementOffset($byte_offset, $bit_offset)
  • getOffset()

読み出し系

  • getData()
  • getUI8(), getSI8()
  • getUI16BE()
  • getUI32BE()
  • getUI16LE(), getSI16LE()
  • getUI32LE(), getSI32LE()
  • getUIBits($width), getSIBits($width)

書き込み系

  • putData($data)
  • putUI8($value), putSI8($value)
  • putUI16BE($value)
  • putUI32BE($value)
  • putUI16LE($value), putSI16LE($value)
  • putUI32LE($value), putSI32LE($value)
  • putUIBits($value, $width), putSIBits($value, $width)
  • setUI32LE($value, $byte_offset)

その他

  • hexdump($offset, $length, $limit = null)

関連


Reload   Diff   Front page List of pages Search Recent changes Backup Referer   Help   RSS of recent changes
Last-modified: Wed, 26 Dec 2018 00:25:33 JST (354d)