WordPress at Your Fingertips
function is not described

ParagonIE_Sodium_File::ftell() private WP 1.0

{} It's a method of the class: ParagonIE_Sodium_File{}

No Hooks.

Return

Int.

Usage

$result = ParagonIE_Sodium_File::ftell( $resource );
$resource(resource) (required)
-

Code of ParagonIE_Sodium_File::ftell() WP 5.8.2

private static function ftell($resource)
{
    $return = ftell($resource);
    if (!is_int($return)) {
        throw new SodiumException('ftell() returned false');
    }
    return (int) $return;
}