### ----------------------------------------------------
### -- PDF
### -- Licenses: Artistic-2.0
### -- Authors: David Warring
### -- File: lib/PDF/COS/Int.rakumod
### ----------------------------------------------------
use v6;

unit role PDF::COS::Int;

use PDF::COS;
also does PDF::COS;

use PDF::COS::Util :&flag-is-set;
method flag-is-set(uint $flag-num) is DEPRECATED returns Bool {
    flag-is-set(self, $flag-num);
}

method content { self+0 };

multi method COERCE(Int:D() $int) {
    $int but $?ROLE;
}


