X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Finterfaces%2Fio%2Fpointer%2Fclass_InputPointer.php;h=0c15cc7b07b7f0620e0c7003bd01bbf77c255263;hp=1d67cd24599fb3ba1b66e2bad501fdf510adb6eb;hb=603435f373f9d92dc4576d816dd4d6e18c8da05b;hpb=7896833cca3a47dea4f76099d7199d6f2200970e diff --git a/inc/classes/interfaces/io/pointer/class_InputPointer.php b/inc/classes/interfaces/io/pointer/class_InputPointer.php index 1d67cd24..0c15cc7b 100644 --- a/inc/classes/interfaces/io/pointer/class_InputPointer.php +++ b/inc/classes/interfaces/io/pointer/class_InputPointer.php @@ -31,6 +31,14 @@ interface InputPointer extends StreamableInput { * @throws InvalidResourceException If there is being set */ function readFromFile (); + + /** + * Reads given amount of bytes from file. + * + * @param $bytes Amount of bytes to read + * @return $data Data read from file + */ + function read ($bytes); } // [EOF]