binary: reuse `isBuf` helper